Shlomi Fish wrote:
Saravanan Murugaiah<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/