develooper Front page | perl.perl5.porters | Postings from August 2000

Re: [ID 20000804.003] heredoc in s///e replacement

Thread Previous
From:
Ronald J Kimball
Date:
August 4, 2000 06:40
Subject:
Re: [ID 20000804.003] heredoc in s///e replacement
Message ID:
20000804093955.B476438@linguist.dartmouth.edu
On Fri, Aug 04, 2000 at 01:37:12PM +0100, Hugo wrote:
> Trawling through old messages, I found this aside in
>   http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1999-01/msg01423.html
> 
> The following code gives the same results with all perls I've checked
> after 5.004 up to and including bleadperl (it fails to find the end of
> the heredoc in 5.004 and earlier):
> 
> crypt% ./perl -wl
> $_ = "test";
> s/t/<<E/eg;
>   "new"
> E
> print
> __END__
>   "new"
> es  "new"
> 
> crypt% 

What is the bug?

Ronald

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