diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 21:29:15 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 21:29:15 +0000 |
commit | 9f1b1f2d9ab55954ee07a14c4ab04bd3dd1f99d5 (patch) | |
tree | f3e99c675e49f21e2edc6600cd4c0b10b14c41d5 /pod/perlmodlib.pod | |
parent | 828c4421567f1da54062ec5edfcc3250be409b16 (diff) | |
download | perl-9f1b1f2d9ab55954ee07a14c4ab04bd3dd1f99d5.tar.gz |
lexical warnings update for docs and tests (from Paul Marquess)
p4raw-id: //depot/perl@5712
Diffstat (limited to 'pod/perlmodlib.pod')
-rw-r--r-- | pod/perlmodlib.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlmodlib.pod b/pod/perlmodlib.pod index 38044c9157..c1f4aca6be 100644 --- a/pod/perlmodlib.pod +++ b/pod/perlmodlib.pod @@ -1120,7 +1120,9 @@ scheme as the original author. =item Try to design the new module to be easy to extend and reuse. -Always use B<-w>. +Try to C<use warnings;> (or C<use warnings qw(...);>). +Remember that you can add C<no warnings qw(...);> to individual blocks +of code that need less warnings. Use blessed references. Use the two argument form of bless to bless into the class name given as the first parameter of the constructor, |