Shlomi Fish wrote:
Saravanan Murugaiah<saravanan.muruga...@gmail.com> wrote:
{
if ($_ =~ /$find/i)
Do you want to search for a case-insensitive substring? If so, you should use
\Q and \E .
What does case-sensitivity have to do with quotemeta? Besides $find is
defined at the top of the program, it is not supplied by the user on the
command line.
exit(0);
The exit call is not needed.
It is if you expect the program to return a defined numerical value.
John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction. -- Albert Einstein
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/