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

Re: MAINT30765 srefgen incompatible

Thread Previous
Matthijs van Duin
April 1, 2007 10:38
Re: MAINT30765 srefgen incompatible
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About