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

Re: [MacPerl] FNG



kevin dowd, dowd@ndirect.co.uk thus spoke on 1/27/99 7:35 PM:

>$myEmail =  'dowd%40ndirect.co.uk';
>$myEmail = ~ s/%40/@/g;
>print "$myEmail";
>
>All I get back is 4294967295.

You need to make one adjustment for this do what you intend:

>$myEmail = ~ s/%40/@/g;

should be

$myEmail =~ s/%40/@/g;

=~ is an operator. I'm not sure what = ~ does... Anyone want to comment 
on where 4294967295 comes from?

Best,
Troy
 


_______________________________
Troy Davis
Creator of Low, Rumbly Things
Glyss, Glyssmusik
http://www.glyss.com/

Goodness without wisdom always accomplishes evil.
- Michael Valentine Smith, Stranger in a Strange Land


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch