The array have a words from index 0. If it is three words, each word will be in each index from 0 to 2. I got this information from perlrequick. Further more information look into the man page.@words = ($str =~ /(\w+)/g);
In reply to Re: can i get a matched values as an array
by irah
in thread can i get a matched values as an array
by balakrishnan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |