Re: How to change @INC
From: Jeff 'Japhy' Pinyan (japhy_at_perlmonk.org)
Date: 04/28/04
- Next message: Amrahsa: "Re: Fwd: Re: Daemon configuration for Apache"
- Previous message: Jupiterhost.Net: "Re: s/// Vs tr///"
- In reply to: William Ampeh: "Re: How to change @INC"
- Next in thread: Wiggins D Anconia: "Re: How to change @INC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 10:51:55 -0400 (EDT) To: William.Ampeh@frb.gov
On Apr 28, William.Ampeh@frb.gov said:
>This might work, I have not tried it, but it might.
>
>unshift (@INC, "/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi");
>use Fcntl;
It is usually pointless to modify @INC with push() or unshift(). You
should always use
use lib "directory";
-- Jeff "japhy" Pinyan japhy@pobox.com http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ CPAN ID: PINYAN [Need a programmer? If you like my work, let me know.] <stu> what does y/// stand for? <tender***> why, yansliterate of course.
- Next message: Amrahsa: "Re: Fwd: Re: Daemon configuration for Apache"
- Previous message: Jupiterhost.Net: "Re: s/// Vs tr///"
- In reply to: William Ampeh: "Re: How to change @INC"
- Next in thread: Wiggins D Anconia: "Re: How to change @INC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]