I have a problem including Socks.pm I love perl but sometimes it makes me mad: Why static include is such a complicated task?? imporing is such a simple thing in python: write down import foo and foo serached in this dir
I need to work with socks proxies, since did not support them i have to do though socket stuff.
I am not a professional in SOCKS headers and authentifications to write directly to socket so to go through connection stage as simple as possible
i have downloaded IO::Socket::Socks and of course hosting provider don`t have that module.
And so my journey on google beginned i surfed 2 days but nothing.
Here is what i did to staticaly include Socks.pm:
1. I placed Socks.pl in "/var/www/html/test/jester/proxy/socks"
and the running script also lies there
2. Writed down this in script
use lib qw(/var/www/html/test/jester/proxy/socks);
this line seems adding "/var/www/html/test/jester/proxy/socks" to the top of the @INC;