laziness, impatience, and hubris | |
PerlMonks |
Re: Help reg printing non printable hex charactersby grinder (Bishop) |
on Jun 18, 2008 at 08:20 UTC ( [id://692658]=note: print w/replies, xml ) | Need Help?? |
If you put \xd1 on the command line, your program will see that literally. In order to match it literally, you have to say use constant HEXD1 => "\\xd1";Or something like that. You're right that the code is a little strange. I think you'll find it much simpler to say:
update: almut is absolutely correct, that should read
or even
... but I didn't want to obsfuscate the code unnecessarily (shift of what?) • another intruder with the mooring in the heart of the Perl
In Section
Seekers of Perl Wisdom
|
|