Holy face of Jesus in a pot roast, Batman! Why does print() return 1 on success?
Who woulda thunk it?
Not me, that's for sure.
Explains a lot, though.
Obviously there's some kind of Deep Magic afoot about which I am blissfully ignorant..
I guess it's so you can write stuff like this:
print "foo" || die "Couldn't write our stuff\n";
We now return to our regularly-scheduled programming.
[/it] permanent link
Syndicate Me via RSS!
Copyright 2003-2009 Robert Szarka
Powered by Blosxom!