LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 10-04-2004, 03:57 PM   #1
doza
Member
 
Registered: Jan 2004
Distribution: Redhat
Posts: 31

Rep: Reputation: 15
Perl + Curses Tutorial?


I am trying to write a (relatively) simple program using Curses with Perl. Basically, I will have a text file with two columns: computer name and status. I want to create a display that I can keep up constantly that will have a different box for each computer in the list. If the computer is up, the box should be green. If is it down, box is red. That's about it. My problem is that I am trying to find a tutorial or some documentation that focuses on using Curses from within Perl. I am not very comfortable using C, so Perl is the best choice for me. The only documents that I have come across on Google are the basic Curses documentation and very brief mentions of the fact that it can be used from Perl. Can anybody point me to examples, docs, tutorials, etc. that might help me out?

Thanks
 
Old 10-05-2004, 07:37 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Basically, go to search.cpan.org and enter 'curses' in the search box. Here's one result: http://search.cpan.org/~marcus/Curse...b/Curses/UI.pm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl -MCPAN -e shell install SDL::Tutorial ?? Bluesuperman Linux - Software 1 06-01-2005 06:54 PM
do I need curses? jake_01 Programming 1 04-28-2005 07:24 AM
curses and some terminals dimm_coder Programming 9 05-10-2004 12:04 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 09:09 PM
Curses nitinkatageri Linux - General 2 08-18-2003 05:58 AM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration