"John L. Allen" wrote:
> 
> The use of a caret was to prevent decimation of the user's namespace,
> vis:
> 
>         perl -e 'print -rwx $_'
>         Can't call method "rwx" on an undefined value at -e line 1.

Yeah, but read the error - Perl's parsing that as:

[nwiger@matrix:~]$ perl -MO=Deparse -e 'print -rwx $_';
print -$_->rwx;
-e syntax OK

This is a really, really, really strange use of indirect object syntax.
I doubt anyone is doing that currently (and if they are, they really
shouldn't be! :).

And, as Damian notes, ^ is already taken as a general-purpose prefix for
Perl 6.

-Nate

Reply via email to