Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: What does 'global' (/g) do in a regexp in this particular case?

by Anonymous Monk
on Apr 09, 2013 at 14:10 UTC ( #1027748=note: print w/replies, xml ) Need Help??


in reply to Re^3: What does 'global' (/g) do in a regexp in this particular case?
in thread What does 'global' (/g) do in a regexp in this particular case?

See Re: What does 'global' (/g) do in a regexp in this particular case? (pos bug) -- don't know how I managed to fool myself that adding scalar shows different behaviour -- that the context is list -- but I did fool myself

Anyway, manual reset  pos($_)=0 for @AllColumns;

  • Comment on Re^4: What does 'global' (/g) do in a regexp in this particular case?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027748]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-07-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.