Code that doesnt work:
print "Enter a string that will match the secret matching pattern \ +n"; chomp (my $selection = <STDIN>); if ($selection = (/(.)\1/)) { print "The match was perfect \n"; } else { print "Match not found \n"; }
In reply to Re: Why does default $_ only work
by catfish1116
in thread Why does default $_ only work
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |