Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Dialog with UNIX shell

by nedals (Deacon)
on Jul 20, 2007 at 01:06 UTC ( [id://627694]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Dialog with UNIX shell
in thread Dialog with UNIX shell

If you use (y/n) instead of yes/no, you can do it like this
my $response = <STDIN>; chomp($response); if (lc($response) eq 'y') { ...etc

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2026-05-13 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.