Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to store matched $1 values one by one to array? (perlrequick)

by Anonymous Monk
on Feb 02, 2013 at 07:56 UTC ( #1016674=note: print w/replies, xml ) Need Help??


in reply to How to store matched $1 values one by one to array?

perlintro -> perlrequick#Extracting matches, More matching
@words = ($x =~ /(\w+)/g); # matches, # $word[0] = 'cat' # $word[1] = 'dog' # $word[2] = 'house'
  • Comment on Re: How to store matched $1 values one by one to array? (perlrequick)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016674]
help
Chatterbox?
shmem often walks around searching his glasses. In order to have a better sight, I put them on.
[Discipulus]: I'm advantaged: berrillio is always on my noose

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2018-05-20 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?