This seems like a mistake or a bad practice in Perl. exit codes are a complete mismatch for subroutine return expectations. I suppose something like this might work but still… I say, nay. Also neigh.
#!/usr/bin/env perl exit ! main(); sub main { $success = [ undef, "true" ]->[rand 2] }
In reply to Re^2: exit this way
by Your Mother
in thread exit this way
by ExReg
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |