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
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
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
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