http://qs321.pair.com?node_id=11118240


in reply to Hosting Provider updated Perl !!

One of the updates to Perl changed a default. Perl used to default to searching the current directory for modules, but no longer does so. If you are getting errors suggesting modules are missing, you might try adding use lib '.'; to the code that has the problem. But you will get better answers if you show that code and the errors, and may find it yourself if you try to prepare a SSCCE (http://sscce.org).

Regards,

John Davies

Replies are listed 'Best First'.
Re^2: Hosting Provider updated Perl !!
by ikegami (Patriarch) on Jun 19, 2020 at 01:55 UTC

    No, don't do that. "." is not the script's directory. You want

    use FindBin qw( $RealBin ); use lib $RealBin;

      Thanks. I'll put that in my toolkit for next time.

      Regards,

      John Davies