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

"Parameterless 'use IO' deprecated"

From:
Ed Avis
Date:
April 27, 2003 01:53
Subject:
"Parameterless 'use IO' deprecated"
Message ID:
Pine.LNX.4.20L2.0304261041400.24588-100000@budvar.future-i.net
The latest versions of IO.pm give a message "parameterless 'use IO'
deprecated" when you say

    use IO;

It would be better for the message to give a hint at what to say
instead.  It could suggest listing all the parts of IO explicitly, as

    use IO qw(Handle Seekable File Pipe Socket Dir);

and then removing the bits that aren't needed.

-- 
Ed Avis <ed@membled.com>






nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About