|Syntactic Confectionery Delight|
can i get a matched values as an arrayby balakrishnan (Monk)
|on Feb 17, 2009 at 08:12 UTC||Need Help??|
balakrishnan has asked for the
wisdom of the Perl Monks concerning the following question:
I have a line of code to match a line with some regular expression.
By using the above,I can get the matched values by printing $1 and $2 variables. Will i get matched result as an array?
Note : Am not interested to explicitly copy the matched variables into an array.