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

[PATCH] reduce frequency of UNIVERSAL->import warnings

Thread Next
From:
Ricardo Signes
Date:
December 29, 2009 05:33
Subject:
[PATCH] reduce frequency of UNIVERSAL->import warnings
Message ID:
20091229133328.GA14466@cancer.codesimply.com

Jesse and I talked about the 5.11.0-introduce behavior that warned when
importing UNIVERSAL.  I'd hoped to stronly discourage ever loading UNIVERSAL.pm
because it alters certain global behaviors with no benefit.  He felt the
warning was too obnoxious for the case of "use UNIVERSAL;" so now the warning
is issued only when a symbol has been requested for import.

Patch attached.

-- 
rjbs

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