[techtalk] Perl question

Stewart Larsen slarsen at mpinet.net
Thu Jun 22 00:58:42 EST 2000


I think the slashes should be in the form "s/exp1/exp2/"


----- Original Message ----- 
From: "Lynn Kuhlman" <lynn at eskimo.com>
To: <techtalk at linuxchix.org>
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
> techtalk at linuxchix.org
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 






More information about the Techtalk mailing list