Only in the context of perl -e, as when run from a script, generates the same error (Argument "0 but true" isn't a numeric in addition (+) at line #.
Also, both still print 0. And in both cases the attempt to add the string to 0 is ignored.
Re^4: What is true and false in Perl?
Replies are listed 'Best First'.