![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
•Re: perl + CGI'sby merlyn (Sage) |
on Dec 13, 2002 at 15:42 UTC ( #219608=note: print w/replies, xml ) | Need Help?? |
Never ever use $1 or $2 unless it's in the context of having tested whether the match worked or not. Since that match could fail, you have no idea what's in $2 at this point. Could be from a previous match. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|