develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991118.014] Error producing ^\ (chr 28) with "\c\\"

Thread Previous
From:
sthoenna
Date:
November 23, 1999 11:27
Subject:
Re: [ID 19991118.014] Error producing ^\ (chr 28) with "\c\\"
Message ID:
vkuO4gzkgK1N092yn@efn.org
Cc'd to: nick@ing-simmons.net

In article <199911212139.VAA03794@bactrian.ni-s.u-net.com>,
Nick Ing-Simmons <nick@ing-simmons.net> wrote:
>Yitzchak Scott-Thoennes <sthoenna@efn.org> writes:
>>
>>A: "\c\"
>>B: "\c\"more string here"
>>
>>The question is, is the current incomprehesible behavior of string B
>>more important to maintain than following DWIM for "string" A?
>
>Yes. 
>print "this is \"important\"!\n";

$what='this';
print "\c$what do I print?";
print "\c\$what do I print?";

And why?  When you understand what I am talking about, feel free to comment.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About