@words = ($x =~ /(\w+)/g); # matches, # $word[0] = 'cat' # $word[1] = 'dog' # $word[2] = 'house'
In reply to Re: How to store matched $1 values one by one to array? (perlrequick)
by Anonymous Monk
in thread How to store matched $1 values one by one to array?
by rekhasri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |