[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] 4294967295



John Porter wrote:
> 
> The variable in question is (apparently) $_,
> because in
> 
>         $myEmail = ~ s/%40/@/g;
> 
> the "negation" operator is being applied to the result of
> 
>         s/%40/@/g;
> 
> which is to say,
> 
>         $_ =~ s/%40/@/g;
> 
> And unless your program has done something -- *Anything* -- to localize
> $_, it is read-only.  Hmmmmmm.  Interesting....

But no longer fun.  :-(

Since you are kind enough to test a development version of perl, perhaps
you'd submit the bug report for this?  Read-onlyness should have nothing
to do with bitwise-negation.  Next we won't be able to use it for the
example in perlop because 027 is read-only.

    0666 &~ 027 is 0640

-- 
Rick Delaney
rick.delaney@home.com

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe