[Melbourne-pm] Important whitespace
joshua at roughtrade.net
Thu Oct 12 17:26:48 PDT 2006
On Thu, Oct 12, 2006 at 08:03:24PM +1000, Sisyphus wrote:
> It didn't get properly explained in that node on perlmonks, afaict.
> I must confess that I can't provide the explanation .... and I'm not game to
> seek explanation for fear of not understanding the answer :-)
> I think it's something I've encountered (and understood) before, but I'm not
> altogether sure about that.
It's properly explained between perldoc -f print and man perlop (look for
the unary '+' operator. it does nothing semantically, only syntactically).
$a = 'STDOUT';
$b = undef;
print $a -$b;
More information about the Melbourne-pm