User Profile
Collapse
-
Yes, I found that. But there is no specific documentation on how to use the menu functions build in. It shows which functions are available, but doesn't say what needs to be passed with each one, for example. Thanks for looking, though. -
can't find documentation for curses menu support
I'm try to write a very simple menu in perl curses, but I just can't find any documentation for it. A small sample script called demo.menu came with the package, but I can't seem to figure out how it works without any documentation. I've also found plenty of documentation for ncurses menu support in C, which is very similar, but I don't know enough about C to figure out how it works in perl.
Can someone either point me in the direction... -
Trouble registering enter key.
I'm currently trying to learn perl as well as perl curses. I found this script, and I understand why it's supposed to work, but I don't understand why it doesn't.
The idea is that pressing "enter" selects one of the menu entries, and if any other key is pressed, is prints "Character pressed is $c". The numbers work as expected, but if you press a letter, it acts like you've pressed enter.
Code:#!/usr/bin/perl
No activity results to display
Show More
Leave a comment: