Just replace exit with last and it should work the way you want it to, ie: if ($in =~ /exit/i){ last }
In reply to Re^7: Creating hash with my imput
by kejohm
in thread Creating hash with my imput
by rolandomantilla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |