If needed, there is a good complete table of the ASCII values at http://www.asciitable.com/
Tim -----Original Message----- From: Ishwor Gurung [mailto:ishwor.gur...@gmail.com] Sent: Wednesday, April 27, 2011 5:46 AM To: Perl Beginners Subject: Re: How does this work? Hi Owen. G'day. On 27 April 2011 19:13, Owen <rc...@pcug.org.au> wrote: > There is a person on the Internet using this to advise his email > address. > > perl -le "print scalar reverse qq/moc.liamg\100halbhalb/" > > I am intrigued as to how "001\" becomes "@" Try this :-) perl -le "print scalar reverse qq/ua.gro.gucp\100koocr/" \100 is '@'. Could also use \x40 (\x40 meaning it's hexadecimal): perl -le "print scalar reverse qq/ua.gro.gucp\x40koocr/" > What should I be reading? Use your favourite searching and hit up "octal representation in Perl" or something along those lines (maybe a perldoc page but I don't remember where it is). Cheers [...] -- Regards Ishwor Gurung Key id:0xa98db35e Key fingerprint:FBEF 0D69 6DE1 C72B A5A8 35FE 5A9B F3BB 4E5E 17B5 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/