in reply to Re^2: Understanding arguments to subroutines
in thread Understanding arguments to subroutines
I think you can explain it without a change to the documentaiton, and B::Deparse supports that:
> perl -MO=Deparse -e "print for -verbose => 2" print $_ foreach (-'verbose', 2); -e syntax OK
... and the unary minus, when applied to a string, returns "-", prepended to that string, as documented in perlop for Symbolic Unary Operators.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Understanding arguments to subroutines
by toolic (Bishop) on May 14, 2012 at 14:52 UTC |