go ahead... be a heretic | |
PerlMonks |
Re: LVALUE refsby John M. Dlugosz (Monsignor) |
on Feb 13, 2003 at 17:30 UTC ( [id://235035]=note: print w/replies, xml ) | Need Help?? |
Print the @refs mid-way through and verify that all the elements hold the last substr. To explore whether it's one lvalue per string it came from, or per substr token in the program, or whatever, try calling substr again after the loop on the same $s. Let us know. —John
In Section
Seekers of Perl Wisdom
|
|