[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: PERL



On 11-May-98 Skliarouk Peter wrote:
> $t = "\(c";
> $_ = "\(a \(b \(c \(d \(e";
> if ( /$t/ ){
>       print "found!";
> }
> - -----------------------
> Doesn't works. Why?

1. Because it isn't related to Linux :-)
2. print "$t\n" would reveal the answer which is...
3. change the double quotes to single quotes in
   the first statement.
   
----------------------------------------------------------------
Oron Peled                             Voice/Fax: +972-4-8228492
oron@actcom.co.il                  http://www.actcom.co.il/~oron

Support organized crime: use Microsoft products!