Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: General pattern for interactive text-mode script?

by Tanktalus (Canon)
on Jul 04, 2008 at 14:17 UTC ( [id://695570]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    'Major task to perform' => [
      { input => 'Add', next => 'task_1' },
      { input => 'Delete', next => 'task_2' },
      { input => 'Rename', next => 'task_3' },
    ],
    
  2. or download this
    'Major task to perform' => {
      'add'    => { next => 'task_1', help => 'Add something to the intern
    +al list' },
      'delete' => { next => 'task_2', help => 'Rename something (didn't ex
    +pect that, did you)' },
      'rename' => { next => 'task_3', help => 'Move something to a new loc
    +ation (didn't expect that, either, huh?)' },
    },
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found