Problems? Is your data what you think it is? | |
PerlMonks |
Re: print the whole lineby Theo (Priest) |
on Jan 21, 2004 at 15:55 UTC ( [id://322911]=note: print w/replies, xml ) | Need Help?? |
I was just reading last night in Learning Perl about the special variables, $', $& and $`. The $& hold the contents of the m// string while the $` and $' contain the text before the m// and after it. I'm not sure which one does which, but is sounds like with these three variables, you would have the whole line.
-Theo-
In Section
Seekers of Perl Wisdom
|
|