Home : General : Perl Programming :

General: Perl Programming: Re: [yogi] use lib $path ?: Edit Log

Here is the list of edits for this post
Re: [yogi] use lib $path ?
Just incase I totally confused you :)

Code:
#!/usr/bin/perl

use strict;
use vars qw/$path/;

BEGIN { $path = "/foo/bar" };

use lib $path;

print "Content-type: text/plain\n\n";
print join "\n", @INC;

Last edited by:

Paul: Apr 12, 2002, 5:42 AM

Edit Log: