Hi all ,
My question is regarding the code below.When I try to execute it there's no output in command prompt or other intrpreters ( it leaves a blank space ).I'm using ActivePerl and get "Hello World" correctly.I notice that the interpreter has problmes with Reg. expression operators =~ or maybe there's a unicode problems ? Thanks .
$myStr = "men";
if($myStr =~ m/ e{1}/)
{
print("e is found in $myStr");
} else {print("not ok") ; }
My question is regarding the code below.When I try to execute it there's no output in command prompt or other intrpreters ( it leaves a blank space ).I'm using ActivePerl and get "Hello World" correctly.I notice that the interpreter has problmes with Reg. expression operators =~ or maybe there's a unicode problems ? Thanks .
$myStr = "men";
if($myStr =~ m/ e{1}/)
{
print("e is found in $myStr");
} else {print("not ok") ; }