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

Re: Warnings.pm ?

Thread Previous | Thread Next
From:
Autrijus Tang
Date:
July 29, 2003 20:40
Subject:
Re: Warnings.pm ?
Message ID:
20030730034119.GA27544@not.autrijus.org
On Tue, Jul 29, 2003 at 11:33:02PM +0200, Slaven Rezic wrote:
> > >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);

Wouldn't "pragma" or "pragmas" be a better name for it?

    use pragmas qw(encoding sort warnings);

> 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/

Even if "if.pm" works, I'd still like a way to not specifically
test perl versions, and capable of listing multiple pragmas.

I'd be very happy to see this on CPAN.

Thanks,
/Autrijus/

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