If the function, you'll have to catch the value the sub returns and do your thing with it.someFunction() or exit(1);
my $ret = someFunction(); if( $ret ){ do_your_thing(); maybe_return_here(); }
In reply to Re: function or something
by mrbbking
in thread function or something
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |