in reply to Re: Net::FTP force IPV4
in thread Net::FTP force IPV4

I already tried this!

Result: Bareword "AF_INET" not allowed while "strict subs" in use at

Regards Kallewirsch

Replies are listed 'Best First'.
Re^3: Net::FTP force IPV4
by Corion (Patriarch) on Jun 27, 2023 at 09:23 UTC

    You need to import AF_INET:

    use IO::Socket qw(AF_INET);
      thanks - this did the trick!
      Regards Kallewirsch