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 }


Comment on Re^7: Creating hash with my imput
Select or Download Code

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 avoiding work at the Monastery: (9)
As of 2015-07-03 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls