in reply to Re^2: version string oddities (-bug)
in thread version string oddities

Hmm, check this out:
% perl -le'print -"-aaa"' +aaa % perl -le'print -"+aaa"' -aaa
That's highly unexpected to me.

Replies are listed 'Best First'.
Re^4: version string oddities (-bug)
by gustavderdrache (Acolyte) on Sep 24, 2006 at 20:00 UTC
    Looks like you don't even need the quotes:
    $ perl -le 'print -aaa' -aaa $ perl -le 'print -+-aaa' +aaa
    You can't put "--aaa" because Perl thinks it's a decrement.
    "If you go on with this nuclear arms race, all you are going to do is make the rubble bounce" -- Winston Churchill