try this

 $list = $find =~ /$scalar/;

Rajeev

----------------------------------------------------------------------------
---------------------------------
A little bit added to what you've already got gives you a little bit
more.-P.G. WOODHOUSE


----- Original Message -----
From: "Aza Lsaja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 06, 2001 6:38 PM
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]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to