Lines Matching full:foo*
270 my $a = "foo";
273 print $a; # prints "foo"
276 print $a; # prints "foo"
492 if (/foo/) { ... } # true if $_ contains "foo"
493 if ($a =~ /foo/) { ... } # true if $a contains "foo"
501 s/foo/bar/; # replaces foo with bar in $_
502 $a =~ s/foo/bar/; # replaces foo with bar in $a
503 $a =~ s/foo/bar/g; # replaces ALL INSTANCES of foo with bar in $a
523 (foo|bar|baz) matches any of the alternatives specified