[Chicago-talk] brain dead question...

Steven Lembark lembark at wrkhors.com
Thu Nov 13 09:38:29 CST 2003

-- Walter Torres <walter at torres.ws>

> OK, I know I've known this.
> I know this info is out there, I'm just not asking the right question.
> So I'll ask humans, maybe they can decipher my question.
> "How can I add a path to @INC?"

syntatically correct:

	unshift @INC, $your_path_here;
	push @INC, $your_path_here;

	splice @INC, $offset, 0, ( $your_path_here );

probably what you are looking for:

	use lib qw( /path/to/something /path/to/anotherthing );

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508

More information about the Chicago-talk mailing list