Stephen E. Hargrove writes ..

>how do i add new directories to @INC?  i've managed to bungle one of my
>debian systems, and apt-get relies pretty heavily on some .pm's that
>aren't in the stock @INC locations.

there's a hand module called 'lib' that's part of the CORE distribution ..
it basically just unshifts your list onto the @INC array in a BEGIN block

  use lib qw'/dirs/for /inclusion /in/INC';

-- 
  jason king

  In Denmark, if a horse carriage is trying to pass a car and the horse
  gets uneasy, the car is required to pull over and stop. If necessary
  to ease the horse down, you are required to cover the car up. -
  http://dumblaws.com/

Reply via email to