Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 lurking in the Monastery: (12)
As of 2014-12-26 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (174 votes), past polls