in reply to Using hash value as condition.
A word sufficiently ambiguous to be deemed illegal under use strict 'subs'. In the absence of that stricture, a bareword is treated as if quotes were around it.
In other words:
(that will print out two lines: "5" and "x is f-a-l-s-e")perl -le '$x = false; print length($x); print "x is ".join("-",split// +,$x)'
|
|---|