Am Mittwoch, 12. April 2006 01:02 schrieb Sonika Sachdeva:
> How do I use variable string value as a regular expression?

print $line if $line =~ /$pattern/;

regards,

oliver



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


Reply via email to