We don't bite newbies here... much | |
PerlMonks |
Re: Negative Index with "substr" Not Workingby GrandFather (Saint) |
on Nov 23, 2015 at 23:45 UTC ( [id://1148449]=note: print w/replies, xml ) | Need Help?? |
The result you show can not be generated by the print statement you give (the print as given wouldn't generate the space between numbers). Show us a complete test script the demonstrates the issue you see. Is it possible that you are calling other code between the regex that sets $11 and the point where you use the value and that that code alters $11's contents?
Premature optimization is the root of all job security
In Section
Seekers of Perl Wisdom
|
|