On 6/30/05, David Dyck <[EMAIL PROTECTED]> wrote:
> > The following 3 line test program results in the same error when pushing 
> > __PACKAGE__
> > onto @ISA:
> >    our @ISA = qw(a b);
> >    push @ISA, 'main';
> >    push @ISA, __PACKAGE__;
> >
> > "Modification of a read-only value attempted at isabug.pl line 3."
> 
> if I change the line
>      push @ISA, __PACKAGE__;
> to
>      push @ISA, __PACKAGE__.'';
> 
> then the error message is also supressed!

Why would you do this anyway? What is the point of a package being ISA itself?

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Reply via email to