I think the slashes should be in the form "s/exp1/exp2/"
----- Original Message -----
From: "Lynn Kuhlman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 12:16 AM
Subject: [techtalk] Perl question
> I can't get my program to print anything to a file. It was complaining
> about line earlier. Is this correct?
>
> if ($string1 =~ /\*\s*\$string2|\$string2/)
>
>
>
>
>
>
>
> _______________________________________________
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
>
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk