Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Key-Board Interactive Perl Application

by roboticus (Canon)
on Dec 12, 2012 at 11:30 UTC ( #1008489=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my $inp = <>) {
        $inp =~ s/^\s*(\w+)\s*$/$1/;
    ...
            print "Command unknown: '$inp'\n";
        }
    }
    
  2. or download this
    while (my $inp = <>) {
        $inp =~ s/^\s*(\w+)\s*$/$1/;
    ...
            print "Command unknown: '$inp'\n";
        }
    }
    
  3. or download this
    my %dispatch_table = (
        AB => \&AB,
    ...
            print "Command unknown: '$inp'\n";
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-10-02 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (51 votes), past polls