develooper Front page | perl.perl5.porters | Postings from April 2007

Re: MAINT30765 srefgen incompatible

Thread Previous
From:
Matthijs van Duin
Date:
April 1, 2007 10:38
Subject:
Re: MAINT30765 srefgen incompatible
Message ID:
20070401173809.GA18074@cds.nl
On Sun, Apr 01, 2007 at 09:41:45PM +0400, Alexey Tourbin wrote:
>$ perl -le 'my $ref=\"dummy"; open my $fh, ">>", $ref or die $!; print $fh "yeah"; print $$ref' 
>Invalid argument at -e line 1.
>$
>
>This breaks some CPAN code, e.g. Image-MetaData-JPEG-0.15.

feels more like a bug in that code then... I'd expect \"dummy" to be a 
ref to something read-only, hence appending to it wouldn't make sense.

  - xmath

-- 
Matthijs van Duin  --  May the Forth be with you!

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