Do you know where your variables are? | |
PerlMonks |
Re: Text output problemby cdarke (Prior) |
on Aug 11, 2011 at 13:41 UTC ( [id://919871]=note: print w/replies, xml ) | Need Help?? |
You appear to be trying to use shell pattern matching, as supported by Korn shell and Bash inside [[...]]. Perl does not support that type of pattern matching, it uses Regular Expressions. In addition, == in Perl is used for arithmetic comparisons, eq is used for textual comparisons, and =~ is used for matches. So: etc.
In Section
Seekers of Perl Wisdom
|
|