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

Re: [ID 20010730.038] constant item check broken in 5.6.1 (works in 5.003 and 5.6.0)

Thread Previous
From:
Jarkko Hietaniemi
Date:
August 1, 2001 16:52
Subject:
Re: [ID 20010730.038] constant item check broken in 5.6.1 (works in 5.003 and 5.6.0)
Message ID:
20010801185223.V4053@chaos.wustl.edu
On Tue, Jul 31, 2001 at 08:29:33AM -0700, Wilson, Doug wrote:
> 
> 
> > -----Original Message-----
> > From: root [mailto:root@interservers.com]
> 
> > (user,group)=split(//,$_);
> 
> Interesting. That ran fine for me, but this gave me a coredump:
> 
> (user,$group)=split(//,$_);
> or even this:
> (user,$group)=undef;
> 
> Douglas Wilson

All these work (well, "don't work") in Perl 5.8-to-be:

Can't modify constant item in list assignment at ct line 1, near "undef;"
Execution of ct aborted due to compilation errors.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

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