On Oct 13, [EMAIL PROTECTED] said:
my $match = '1ak';
if ($match =~/([a-hj-nprt-wyA-HJ-NPRT-WY])/ ){
But when I am executing its still giving me Ok as output .The Problem is
like this I want to match only character (a-h,j-n,p,r,t-w,y) including
upper case also or in other words I need Error
Hi Perlers
Here is my code
my $match = '1ak';
if ( length($match) =~ /3/){
if ($match =~/([a-hj-nprt-wyA-HJ-NPRT-WY])/ ){
print "OK \n";
}
else{
print "Error \n";
}
}
else{
print " Length Problem \n" ;
}
But when I am executing its sti