Perl-Sensitive Sunglasses | |
PerlMonks |
common replacement code ill-understoodby Anonymous Monk |
on Jun 11, 2006 at 05:33 UTC ( [id://554654]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I see this rather a lot on scripts I download, but I don't really understand it. Can anyone help? Thanks.
$foo =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
Back to
Seekers of Perl Wisdom
|
|