you should use "/" instead of "\" for pattern match.
-----Original Message-----
From: Aza Lsaja [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 6:38 AM
To: [EMAIL PROTECTED]
Subject: how to matching pattern of a scalar?
Hello,
I make a program which need to matching pattern of a scalar.
I write it as:
$list = $find =~ \/$scalar\;
but, i get error when execute it as:
"Search pattern not terminated at line 12"
then how i matching a scalar variable?
Regards,
Aza
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]