Don't ask to ask, just ask | |
PerlMonks |
Re: Upgrade to 5.18 causes uninitialized ${^MATCH}by kcott (Archbishop) |
on May 28, 2013 at 03:00 UTC ( [id://1035508]=note: print w/replies, xml ) | Need Help?? |
G'day nbtrap, Welcome to the monastery. I'm using 5.18.0. Without any context or knowledge of the values of $buf, $pat, $self or $sub, I am unable to reproduce your problem. pos() and ${^MATCH} are returning the values I would expect:
perldelta (for 5.18.0) mentions a change to ${^MATCH} under Internal Changes which may be relevant. perldoc.perl.org hasn't updated to 5.18.0 yet. If you're using online documentation, I suggest using the CPAN perl 5.18.0 doco. (The commandline perldoc utility is up-to-date.) You may get some hints for creating a short, self-contained script that reproduces your problem from "How do I post a question effectively?". -- Ken
In Section
Seekers of Perl Wisdom
|
|