in reply to Confused by '+' syntax in code sample.
It doesn't really "do" anything except assist how Perl interprets the expression.
# say would think that its arguments are the whole statement in bracke +ts say +(split ':')[0] while (<DATA>); #..so we use the + to make it clear that the contents of the brackets +are not function arguments # but part of an expression say +(split ':')[0] while (<DATA>);
|
---|