Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 calm...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-03-24 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.