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


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, 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 unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



*********************************************************
Disclaimer:

The contents of this E-mail (including the contents of the enclosure(s) or 
attachment(s) if any) are privileged and confidential material of MBT and 
should not be disclosed to, used by or copied in any manner by anyone other 
than the intended addressee(s).   In case you are not the desired addressee, 
you should delete this message and/or re-direct it to the sender.  The views 
expressed in this E-mail message (including the enclosure(s) or attachment(s) 
if any) are those of the individual sender, except where the sender expressly, 
and with authority, states them to be the views of MBT.

This e-mail message including attachment/(s), if any, is believed to be free of 
any virus.  However, it is the responsibility of the recipient to ensure that 
it is virus free and MBT is not responsible for any loss or damage arising in 
any way from its use

*********************************************************

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to