Welcome to the Monastery, catfish1116!
Please put your programming code within <code>code here...</code> code tags, per Writeup Formatting Tips.
For the Monks, here it is formatted and within proper tags:
use v5.12; use warnings; my $Namelist = 'Wilma Fred Barney Betty Dino'; if ( $Namelist ~= m/\w+a/) { print "Matched|$<$&>$|\n"; say "The name that matched was $1 \n"; } else { print "No match: \n"; }
In reply to Re: Simple prog isnt cooperating
by stevieb
in thread Simple prog isnt cooperating
by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |