Path: utzoo!attcan!uunet!ccicpg!zardoz!dhw68k!bob
From: bob@dhw68k.cts.com (Bob Best)
Newsgroups: comp.sources.bugs
Subject: perl 2.0 ('\\\\' eq "\\\\") bug?
Message-ID: <9683@dhw68k.cts.com>
Date: 15 Jul 88 17:57:35 GMT
Reply-To: bob@dhw68k.cts.com (Bob Best)
Organization: Wolfskill residence; Anaheim, CA (USA)
Lines: 17

The man page for perl 2.0 states (on page 6):
	  String literals are delimited	by either single or double
	  quotes.  They	work much like shell quotes: double-quoted
	  string literals are subject to backslash and variable
	  substitution;	single-quoted strings are not.
			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Perl considers '\\\\' identical to "\\\\" as evidenced by the following:

if ('\\\\' eq "\\\\") {print "equal\n";} else {print "not equal\n";};

Compare this with:

if ('\n\n' eq "\n\n") {print "equal\n";} else {print "not equal\n";};

-- 
Bob Best
uucp: ...{trwrb,hplabs}!felix!dhw68k!bob	InterNet: bob@dhw68k.cts.com