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

[PATCH] Exporter-related PODs

Thread Next
From:
Tassilo von Parseval
Date:
November 7, 2003 08:22
Subject:
[PATCH] Exporter-related PODs
Message ID:
20031107160740.GA518@ethan
Hi,

previously there was a discussion on clpm regarding the merrits or
non-merrits of

    package Bla;
    require Exporter;
    @ISA = qw(Exporter);

versus the simpler and cleaner

    package Bla;
    use base qw(Exporter);

Since the latter doesn't seem to have any drawbacks, I suggest changing
the code examples in the PODs relating to Exporter. The patch addresses
lib/Exporter.pm and pod/perlmod.pod. A quick grep through the PODs
didn't produce any more occurances, yet there might be some somewhere
else.

Tassilo
-- 
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval

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