Re: Changing the path in @INC

2005-02-11 Thread Andrew Black
Boysenberry Payne wrote: I know how to add to the perl path, but how do you take away. I have the fink /sw/ path included in the @INC array, and I want to be able to temporarily remove them, or at least put them at the end. Is there a way to set it up so that it's semi permanent? I would ask how

RE: Changing the path in @INC

2005-02-10 Thread Manav Mathur
shift accepts only one argument, the array. and shifts of an element from the beginning of the array. -Original Message- From: bright true [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 6:43 PM To: Boysenberry Payne Cc: beginners@perl.org Subject: Re: Changing the path in

Re: Changing the path in @INC

2005-02-10 Thread bright true
Hi , i don't know if this would work ... but try it anyway BEGIN{ shift(@INC,"/sw/");} bye On Thu, 10 Feb 2005 06:29:26 -0600, Boysenberry Payne <[EMAIL PROTECTED]> wrote: > I know how to add to the perl path, but how do you take away. I have > the fink /sw/ path included in the @INC array

Changing the path in @INC

2005-02-10 Thread Boysenberry Payne
I know how to add to the perl path, but how do you take away. I have the fink /sw/ path included in the @INC array, and I want to be able to temporarily remove them, or at least put them at the end. Is there a way to set it up so that it's semi permanent? Thanks ahead of time, Boysenberry -- To