develooper Front page | perl.perl5.porters | Postings from October 2003

RE: require UNIVERSAL;

Thread Previous | Thread Next
From:
Orton, Yves
Date:
October 6, 2003 08:22
Subject:
RE: require UNIVERSAL;
Message ID:
71B318898201D311845C0008C75DAD1C089612C6@defra1ex2

> Can anybody remember the requirement for defining the import alias?
> Can it be removed? If not, then the documentation of 
> UNIVERSAL.pm should
> be changed and it should say in big letters to not use or require
> UNIVERSAL.

I often 

  use UNIVERSAL qw(isa);

in my code. I dont mind switching to 

  BEGIN { *isa=*UNIVERSAL::isa }

But it will break code.

Yves

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About