|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Passing $2 to a subby SparkeyG (Curate) |
| on Feb 13, 2001 at 17:50 UTC ( [id://58188]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.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
|
|
||||||||||||||||||||||||||||||||||||||