Script Dependency Problem
Hi, I have a script that needs the following to work:
use strict use Config::IniFiles use LWP use POSIX use Crypt::SSLeay I think Config::IniFiles, LWP and POSIX are a part of Perl, but I have no idea what strict is. Could someone help me install perl, and the rest through synaptic through the terminal commands. |
"use strict" is not a dependency as in package inclusion,
it tells perl to be more pedantic about how variables and a few other objects are treated; so you need to explicitly specify e.g., "my $variable", "my @array", or "our $variable2". Cheers, Tink |
Ok but for the ones that need to be installed, how do i do it?
|
Commonly you'd use CPAN. Even though LWP should be part
of your perl distribution. Code:
cpan -i Crypt::SSLeay Ok, so you added synaptic to your first post; try Code:
apt-cache search perl|grep -i ssleay Code:
apt-cache search perl|grep -i lwp Tink |
Hi, thanks for you help.
from: apt-cache search perl|grep -i ssleay I get: Quote:
apt-cache search perl|grep -i lwp I get: Quote:
|
this should solve all (without using CPAN):
Code:
# apt-get install libcrypt-ssleay-perl |
Ahh ok, I get it now.
thanks for your help its most appreciated |
All times are GMT -5. The time now is 04:17 AM. |