I had tried to set the LIBPATH variable at the beginning of my script, but it didn't change anything. It seems like it is already too late!
Code:
$ENV{'LIBPATH'}='/opt/freeware/lib';
$ENV{'LIBPATH'}='/opt/freeware/lib';
# LIBPATH=/opt/freeware/lib # ./check_url.pl https://myexample.com SUCCESS 200 OK
Leave a comment: