in reply to Using the modules I want to use.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using the modules I want to use.
by cal (Beadle) on Nov 02, 2002 at 06:38 UTC | |
by Aristotle (Chancellor) on Nov 02, 2002 at 06:42 UTC | |
by cal (Beadle) on Nov 02, 2002 at 06:58 UTC | |
by Aristotle (Chancellor) on Nov 02, 2002 at 07:11 UTC | |
by cal (Beadle) on Nov 02, 2002 at 06:44 UTC | |
|
Re: Re: Using the modules I want to use.
by cal (Beadle) on Nov 02, 2002 at 07:12 UTC |