N
Nathan
According to the documentation this program should print nothing since
m// uses the last successful pattern match from m//, split, etc. However
on my linux box it prints 1:
#!/usr/bin/perl -w
$a = "a";
$b = "b";
split /a/,$a;
print $b =~ m//;
Is the documentation wrong?
-Nathan
m// uses the last successful pattern match from m//, split, etc. However
on my linux box it prints 1:
#!/usr/bin/perl -w
$a = "a";
$b = "b";
split /a/,$a;
print $b =~ m//;
Is the documentation wrong?
-Nathan