Hey thanks for the nice reply, but I was not aware of a difference in the regex with the parentheses (though I updated my post): It would be good if you can point it out for me, always up for learning more Perl ! :-)
print $1 if /^$name$/; #or print $1 if /^($name)$/;
In reply to Re^5: write and read the same file not display the output
by Rudolf
in thread write and read the same file not display the output
by ulaksh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |