develooper Front page | perl.perl5.porters | Postings from December 2009

Re: Pod::Abstract 0.19 generating warnings on 5.11.3

Thread Previous | Thread Next
From:
Jerry D. Hedden
Date:
December 23, 2009 11:02
Subject:
Re: Pod::Abstract 0.19 generating warnings on 5.11.3
Message ID:
1ff86f510912231102l30d17d25q547e4925bfd6b560@mail.gmail.com
> use UNIVERSAL ();

This is not needed.  UNIVERSAL is always available.

> and then replace the calls to isa()  and can() by
> UNIVERSAL::isa() and UNIVERSAL::can()

No, isa() and can() should not be called as procedures.
They are methods:  $item->isa('thing') for example.

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