LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   locate/print text in perl on screen (https://www.linuxquestions.org/questions/programming-9/locate-print-text-in-perl-on-screen-401346/)

Jerry Draper 01-09-2006 06:24 PM

locate/print text in perl on screen
 
I want to print a record counter in the middle of my screen while reading a file. In basic I would:

rec=rec+1
locate 15, 30
print rec;

How can I do this in Perl?

TIA

Jerry

chrism01 01-09-2006 09:22 PM

To do GUI work in Perl, you'll need Perl/Tk (see also Tcl). Try these sites :
http://www.perltk.org/ , http://www.perlmonks.com/, http://search.cpan.org/ .
HTH

Jerry Draper 01-10-2006 11:36 AM

Without getting into GUI stuff is there a way to just put some simple text on the screen?

J


All times are GMT -5. The time now is 11:56 AM.