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

Re: [FWP] 4294967295



On Jul 7, Vicki Brown sprach thusly:

>   $myEmail =  'me%40my.email.com';
>   $myEmail = ~ s/%40/@/g;
>   print "$myEmail";
> 
>   >All I get back is 4294967295.

s/= ~/=~/ should do the trick... since 4294967295 is 2**32-1, must
be the complement of 0 (to which s/%40/@/g evaluates in scalar
context assuming index($_,'%40') == -1).  

- Austin


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