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

Re: PERL



On Mon, 11 May 1998, Skliarouk Peter wrote:

SP> - -----------------------
SP> $t = "\(c";
SP> $_ = "\(a \(b \(c \(d \(e";
SP> if ( /$t/ ){
SP> 	print "found!";
SP> }
SP> - -----------------------
SP> Doesn't works. Why?

Because you are matching with mask "(c". This is not a valid mask. Do
$t="\\(c". 

SP> Compiling KDE Beta 4.2 on SunOS got something like this:
SP> LD received signal 6. Aborting...

Hmm... 6 is SIGABRT... Wierd.

--
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-2-6245112	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333