Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How to get ($1, $2, ...)?

by ferreira (Chaplain)
on Feb 16, 2007 at 13:53 UTC ( #600430=note: print w/replies, xml ) Need Help??


in reply to Re: How to get ($1, $2, ...)?
in thread How to get ($1, $2, ...)?

Wouldn't you solve your problem by handling a line at a time?

That's almost what I do, but I need the /gc modifier to restart from where the last regex left. Then, I can't use the match in list context as explained and so I don't see an easy way to get ($1, $2, ...) for free.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2019-08-22 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?