bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with initscr() in ncurses.h


From: Wade Miller
Subject: Problem with initscr() in ncurses.h
Date: Fri, 1 Dec 2023 13:43:59 -0600

I have used Perl for 30+ years, but never (n)curses.  I am now trying to write a data editing routine for my church. The data editing part works, but I need to use the move() command.  However I cannot get initscr() to initialize the window.
Attached is a snippet of the program showing my attempt to initialize {initscr()} the window.  I get the following error and simply have not found a way to correct it.

error: Undefined subroutine &main::initscr called at ./shorty.pl line 8.
Your help would be gratefully appreciated.

Attached are a few lines of the program which give the error.
Using LIBNCURSES6_6.3-2 on ubuntu 20.04.

Thank you
Wade Miller
(IT Retiree) 

Attachment: shorty.pl
Description: Perl program


reply via email to

[Prev in Thread] Current Thread [Next in Thread]