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

Re: Warnings.pm ?

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
July 30, 2003 03:25
Subject:
Re: Warnings.pm ?
Message ID:
p05111b0fbb4d4d0fc33a@[192.168.2.108]
At 10:53 +0200 7/30/03, Elizabeth Mattijsen wrote:
>I think "pragma(s)" doesn't convey the fact that it's loading a 
>dummy version of the specified pragma's in older versions of Perl.

Thinking about it a little more:

    use supply qw(warnings encode sort);

or:

    use provide qw(warnings encode sort);

as it is supplying/providing these pragma's for further usage in the 
program, whether they are available or not.


Liz

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