use strict; use warnings; my $string = "Some garbled question?"; print "$string Yes, it is!\n" if $string =~ /garbled/ && $string =~ /q +uestion/;
In reply to Re: Pattern matching
by hdb
in thread Pattern matching
by bahgarh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |