Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^7: Creating hash with my imput

by kejohm (Hermit)
on Aug 19, 2011 at 08:30 UTC ( #921178=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Creating hash with my imput
in thread Creating hash with my imput

Just replace exit with last and it should work the way you want it to, ie: if ($in =~ /exit/i){ last }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2016-07-28 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (252 votes). Check out past polls.