Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Tokenizing and qr// <=> /g interplay

by skyknight (Hermit)
on Apr 23, 2005 at 15:44 UTC ( [id://450728]=note: print w/replies, xml ) Need Help??


in reply to Re: Tokenizing and qr// <=> /g interplay
in thread Tokenizing and qr// <=> /g interplay

OK, that seems to make sense... So presumably the following idiom is the right way to go about things...
while ($stream =~ /$regex/g) { print "token: $1\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-24 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found