On 4/25/07, Somu <[EMAIL PROTECTED]> wrote:
why wont the following work?

 $q = shift;
 $p = "pass";
 if ( $q =~ m/$p/i ) { print 'match' }

 But it works on changing the $q and $p places..

Since we don't know what $q is we can't really help you.  Please
produce a repeatable test.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to