You need to modify the @INC path before you load the modules. Also, if you have a module Foo::Bar residing in /some/dir/Foo/Bar.pm you must specify /some/dir/ as the path, without the Foo/ part.#!/usr/local/bin/perl -w use lib '/u/web/dom/cgi-local/'; use CGI ':standard'; use GD; print header, html( h1( "CGI: $CGI::VERSION GD: $GD::VERSION" ) );
Makeshifts last the longest.
In reply to Re: Using the modules I want to use.
by Aristotle
in thread Using the modules I want to use.
by cal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |