question about perl 5.6
chris at cpan.org
chris at cpan.org
Mon May 13 12:19:24 CDT 2002
Hi, Paul.
>>>>> "Paul" == Paul Johnston <paulj at ccl.umist.ac.uk> writes:
Paul> s/&#([0-9]*)/pack("U",\1)/eg;
Paul> However this does not work, something to do with when the
Paul> parentheses are passed to \1 and this is evaluate I think?
I'm not sure if this is correct, but I'd use $1 instead of \1 outside of
the expression itself. Give that a try, perhaps? Everything else seems
in order..
- Chris.
--
$a="printf.net"; Chris Ball | chris at void.$a | www.$a | finger: chris@$a
--
You are currently subscribed to manchester-pm-list. To unsubscribe, send the following message to majordomo at happyfunball.pm.org:
unsubscribe manchester-pm-list
More information about the Manchester-pm
mailing list