Slug has asked for the wisdom of the Perl Monks concerning the following question:
SOLVED
Can someone please tell me how to print the last two characters on the end of a string.
1234,Dr,Huxtable,Cliff,M,24/12/1976,60
Here is my pattern match
$sight = ($_ !~ m/\Z{2}/);
Thanks. Thanks Everybody
1234,Dr,Huxtable,Cliff,M,24/12/1976,60
Here is my pattern match
$sight = ($_ !~ m/\Z{2}/);
Thanks. Thanks Everybody
Back to
Seekers of Perl Wisdom