Hi Gurus,

I want to read a file and find/build an array of lines that match.  Is it 
possible to do something like;

if ( $pattern =~ /$line/ ) {
        dostuff;
}

Does perl interpolate the to variables? Or do I need to escape one of 
the variables?

Any ideas?
Dp.

~~
Dermot Paikkos * [EMAIL PROTECTED]
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668


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

Reply via email to