programming-examples/perl/Regular_Expression/Case.pl
2019-11-15 12:59:38 +01:00

19 lines
168 B
Perl

#Match case!
#!/usr/bin/perl -w
use strict;
$_ = "Case";
if (/case/) {
print "found\n";
} else {
print "not found\n";
}