in reply to Re^2: Print not printing
in thread Print not printing

As already said, there is room for ambiguity in this syntax. So although whitespace should not be relevant, it is used to disambiguate things.

It really is a Perl DWIM thing.

By putting a space before the + and not behind it, you seem to hint to Perl that the + is now a unary plus and automagically the $a now becomes a filehandle.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law