Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[choroba]: I can't connect to www.perlmonks.org, but without www, it works.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-07-25 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (379 votes). Check out past polls.