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

Re: Warnings.pm ?

Thread Previous | Thread Next
From:
Slaven Rezic
Date:
July 29, 2003 14:34
Subject:
Re: Warnings.pm ?
Message ID:
87ptjtqar5.fsf@vran.herceg.de
Elizabeth Mattijsen <liz@dijkmat.nl> writes:

> At 23:01 +0200 7/29/03, Slaven Rezic wrote:
> >  > Problem is that authors have "use warnings qw(xxx)" and "no warnings
> >>  qw(xxx)" scattered all over the place.  So this would just postpone
> >  > error messages until one of these is encountered at compile time...
> >I have a module which solves this problem in a generic way and should
> >work for all pragmas. You say once:
> >
> >	use future qw(encoding sort warnings);
> >
> >for all pragmas you want to be ignored with older perls and used with
> >newer perls, and after that use the pragmas as usual.
> 
> Why isn't this in CPAN?   ;-)
> 

Ilya convinced me that it's not necessary. You may take a look at the
module, see

    http://user.cs.tu-berlin.de/~eserte/src/perl/future/

Regards,
	slaven

-- 
Slaven Rezic - slaven@rezic.de

    tktimex - project time manager
    http://sourceforge.net/projects/ptktools/

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