(Those who answered with die(), with 'best practices', or even with 'common practices' are avoiding to answer directly the poster's question.)
foo(); $@{0} ? print "error: $@{0}" : print 'ok'; sub foo { $@{0} = 'proxy error' }
In reply to Re: Returning Error Codes
by ioannis
in thread Returning Error Codes
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |