my $line = "abd"; if ($line =~ /abcd/i) { print "matched the first case\n"; } if ($line =~ /[abcd]/i) { print "matched the second case\n"; }
In reply to Re: Conditions and Case Sensitivity
by pg
in thread Conditions and Case Sensitivity
by natty_dread
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |