P is for Practical | |
PerlMonks |
Re^4: exit this wayby Your Mother (Archbishop) |
on Sep 01, 2015 at 17:26 UTC ( [id://1140700]=note: print w/replies, xml ) | Need Help?? |
Yes, and the attempt at the idiom is a reasonable idea, I have in fact used it for service/daemon style scripts in the past, but exit 0; # undef works too is the only "correct" exit code. Everything else is an error state. Since returning false is suggestive of an error in Perl I am reticent to put that lipstick on this pig... or this pig stick on those lips... And that's the way the news goes!
In Section
Seekers of Perl Wisdom
|
|