The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-09-2002
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
Re: Calling privately installed module from script help please

Quote:
Originally posted by sdiva

in my script ive typed (one example of many variations ive tried):

require 5;
use 'LWP::Simple qw(/home/virtual/sbcadmin/home/httpd/cgi-bin/myperl/LWP/Simple.pm);

SIDE NOTE: my server info: Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.12-20ensim on an i686

is this simply something i cannot do without admin and root privileges or is my syntax incorrect somewhere?

thanks in advance,
sdiva [/b]
try:

require 5; #perl 5 or >
use lib '/home/virtual/sbcadmin/home/httpd/cgi-bin/myperl';

use LWP::Simple;