Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Automate Making Menus

by staeryatz (Monk)
on Oct 30, 2001 at 13:11 UTC ( #122048=note: print w/replies, xml ) Need Help??


in reply to Re: Automate Making Menus
in thread Automate Making Menus

Thanks.

I downloaded it. Now it's just a matter of figuring out how to use it.

Ncurses is pretty cool. Currently, I code in Unix shell + dialog
if I want to make ncurses menus. Here's a look at one of them.

Something I've used and abused in the above code is Perl's
string multiplier 'x'. It comes in handy:
print "=" x 80;

Some languages don't have something so cool like that.

Replies are listed 'Best First'.
Re:{3} Automate Making Menus
by jeroenes (Priest) on Oct 30, 2001 at 17:48 UTC
    Hanging around the monastry will learn you many more neat tricks. To name a few:
    1. use strict and warnigns and diagnostics or die
    2. lingual-like for/while/if/unless constructs, eg.
      print "I love perl ".$_++." times\n" while m/vroom/; print "Bwech" unless m/perl/ or not substr($^O, 'linux' );
    3. split (/tell chipmunk I did resist the temptation)
    4. eval
    5. .... and many others.
    Mehopes you will enjoy the wonders of perl!

    Jeroen
    "We are not alone"(FZ)

      Cool, thanks again.

      I guess it's obvious that I code in Perl like a 'C' Programmer.
      I'll definately pick up the traits of a Perl Programmer from hanging
      around here, something that some books just don't teach.

      I'm learning Perl from a 900 page book called "Mastering Perl 5",
      by Eric C. Herrmann. I'm about 2/3 through, it's okay but it can
      pretty dry at times. It teaches the methods of Kung-Fu, but not the
      art of Kung-Fu.

      The name of the book is misleading. You cannot be a "Master",
      without having style and grace.

      Now, let's see if I can Walk my Talk...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://122048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-05-17 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?