Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Negative Index with "substr" Not Working

by GrandFather (Saint)
on Nov 23, 2015 at 23:45 UTC ( [id://1148449]=note: print w/replies, xml ) Need Help??


in reply to Negative Index with "substr" Not Working

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
  • Comment on Re: Negative Index with "substr" Not Working

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148449]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-23 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found