|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Passing $2 to a subby SparkeyG (Curate) |
| on Feb 13, 2001 at 22:50 UTC ( #58188=perlquestion: print w/ replies, xml ) | Need Help?? |
|
SparkeyG has asked for the
wisdom of the Perl Monks concerning the following question:
In the following snippit, I wish to take the second match, $2, and pass it to a sub that will create a DB table.
The problem is that w/in the sub, the variable shows the entire line matched.
The output I am getting is: The expected output would be, I thought... JAPP SparkeyG
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||