Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 the radiator hisses contentedly...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-12-03 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (51 votes). Check out past polls.