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

"Parameterless 'use IO' deprecated"

Ed Avis
April 27, 2003 01:53
"Parameterless 'use IO' deprecated"
Message ID:
The latest versions of 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 <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About