The stupid question is the question not asked | |
PerlMonks |
Re: Backticks and Pattern Matching.by rgiskard (Hermit) |
on Feb 05, 2008 at 15:35 UTC ( [id://666320]=note: print w/replies, xml ) | Need Help?? |
When you use backticks and you don't chomp the results the returned value will include a newline. You must account for this in your strict comparison if you're not going to chomp (but please use eq, otherwise you're not comparing you are setting).
In Section
Seekers of Perl Wisdom
|
|