in reply to Invalid sub ignored on use strict;

Is your code using Net::FTP anywhere? There is a dir() method in that library.

In the same vein, it could possibly that somewhere along the line you are using a module and importing, or which exports, a function named dir.

Replies are listed 'Best First'.
(wil) Re: Invalid sub ignored on use strict;
by wil (Priest) on Apr 30, 2002 at 14:28 UTC
    Hi

    Good point! I'm not actually using any module apart from CGI.pm here and I'm 99% sure that there's no dir function or sub within CGI.pm - anyway, doesn't it import them into it's own namespace?

    Thanks for your suggestion!

    - wil