develooper Front page | perl.perl5.porters | Postings from January 2012

Re: How we deprecate (was Re: Deprecating '\w {' in v5.16)

Thread Previous | Thread Next
David Golden
January 30, 2012 03:51
Re: How we deprecate (was Re: Deprecating '\w {' in v5.16)
Message ID:
On Mon, Jan 30, 2012 at 5:33 AM, demerphq <> wrote:
> I personally think that deprecation warnings would be a lot easier to
> add, and a lot less painful,  if they were warn-first-use, instead of
> the normal warn-every-use.

    use less 'warnings';  # :-)

Serious note -- this seems like it should be a user option, not a
default, if implemented.  Are we out of command-line flags?  (Would -X
already suffice for this?)  I note that "-q" (quiet) is available.

-- David

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About