Re: Adding to @INC

2009-01-08 Thread Sherm Pendley
On Jan 8, 2009, at 12:27 PM, Sam Seaver wrote: On Thu, Jan 8, 2009 at 11:24 AM, Sherm Pendley > wrote: On Jan 7, 2009, at 10:36 PM, Vic Norton wrote: Another curiosity. I just checked out the Perl5.8.8 files in /usr/ bin and /opt/local/bin. The /usr/bin one came with Leopard, which I bought

Re: Adding to @INC

2009-01-08 Thread Sam Seaver
On Thu, Jan 8, 2009 at 11:24 AM, Sherm Pendley wrote: > On Jan 7, 2009, at 10:36 PM, Vic Norton wrote: > >> Another curiosity. I just checked out the Perl5.8.8 files in /usr/bin and >> /opt/local/bin. The /usr/bin one came with Leopard, which I bought from >> Apple a week or so ago. It was created

Re: Adding to @INC

2009-01-08 Thread Sherm Pendley
On Jan 7, 2009, at 10:36 PM, Vic Norton wrote: Another curiosity. I just checked out the Perl5.8.8 files in /usr/ bin and /opt/local/bin. The /usr/bin one came with Leopard, which I bought from Apple a week or so ago. It was created on Dec 7, 2007, and it weighs 48 KB. The MacPorts perl was

Re: Adding to @INC

2009-01-08 Thread David Green
I am guessing the bigger Perl has debug information within the program. (lurking) David Green On 8 Jan, 2009, at 0:36, Vic Norton wrote: That is exactly what has happened, Sherm. Thanks a lot. Prior to my recent installation of Leopard, I had used MacPorts to install Perl5.8.8. So I have

Re: Adding to @INC

2009-01-07 Thread Vic Norton
That is exactly what has happened, Sherm. Thanks a lot. Prior to my recent installation of Leopard, I had used MacPorts to install Perl5.8.8. So I have 5.8.8 in two places, in /usr/bin and in /opt/ local/bin. And /opt/local/bin comes earlier in my PATH than /usr/bin. I'm going to have to thi

Re: Adding to @INC

2009-01-07 Thread Vic Norton
local/lib/perl5/site_perl/5.8.8" is near the beginning of @INC. On Jan 7, 2009, at 11:50 AM, Vic Norton wrote: Thanks guys! That did the trick. I added export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 to ~/.bash_profile = ~/.bashrc, and I also added PERL5LIB /opt/local/lib/p

Re: Adding to @INC

2009-01-07 Thread Sherm Pendley
On Jan 7, 2009, at 10:24 AM, Vic Norton wrote: I plan to use CPANPLUS to install new packages and modules. Right now it installs them in /opt/local/lib/perl5/site_perl/5.8.8 As an aside, I think it's kind of odd that /usr/bin/perl would do that... Are you sure there's not an /opt/local/bi

Re: Adding to @INC

2009-01-07 Thread Doug McNutt
Mac OS neXt also provides for a file: $HOME/.MacOSX/environment.plist. .If it's not present you can create it and its hidden directory. Contents are environment variables that you would like defined even if you haven't opened a Terminal.app session. AppleScript's do shell script command, for

Re: Adding to @INC

2009-01-07 Thread Igor Sutton
Or you can use local::lib and be happy. You can find a recipe here: http://www.izut.com/articles/files/7156ee84b1fa9ad28f2a4ab0b94f0a0a-0.html The recipe says to put something into your ~/.bashrc, which works perfectly. Igor. 2009/1/7 Chas. Owens : > On Wed, Jan 7, 2009 at 11:21, Adam Witney

Re: Adding to @INC

2009-01-07 Thread Vic Norton
this directory to @INC? I would prefer not having to start every script with use lib '/opt/local/lib/perl5/site_perl/5.8.8'; Try adding this to your ~/.profile export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 On Jan 7, 2009, at 10:47 AM, Chas. Owens wrote: OS X 1

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
On Wed, Jan 7, 2009 at 11:21, Adam Witney wrote: > > On 7 Jan 2009, at 16:19, Chas. Owens wrote: > >> On Wed, Jan 7, 2009 at 11:13, Adam Witney wrote: > > Try adding this to your ~/.profile > > export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 OS X 10.5 (o

Re: Adding to @INC

2009-01-07 Thread Adam Witney
On 7 Jan 2009, at 16:19, Chas. Owens wrote: On Wed, Jan 7, 2009 at 11:13, Adam Witney wrote: Try adding this to your ~/.profile export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile not ~/.profile for user override

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
On Wed, Jan 7, 2009 at 11:13, Adam Witney wrote: >>> >>> Try adding this to your ~/.profile >>> >>> export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 >> >> OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile not >> ~/.profile for user overrides to the default profile (/e

Re: Adding to @INC

2009-01-07 Thread Adam Witney
Try adding this to your ~/.profile export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 OS X 10.5 (or at least my version of 10.5) uses ~/.bash_profile not ~/.profile for user overrides to the default profile (/etc/bashrc). If this is a multiuser machine and you want the other user

Re: Adding to @INC

2009-01-07 Thread David Cantrell
od place, but how can I add this directory to > >@INC? I would prefer not having to start every script with > > use lib '/opt/local/lib/perl5/site_perl/5.8.8'; > Try adding this to your ~/.profile > export PERL5LIB=${PERL5LIB}:/opt/local/lib/perl5/site_perl/5.8.8 Or

Re: Adding to @INC

2009-01-07 Thread Chas. Owens
On Wed, Jan 7, 2009 at 10:30, Adam Witney wrote: > > On 7 Jan 2009, at 15:24, Vic Norton wrote: > >> I just installed Mac OS X 10.5, and I'm trying to get Perl back up to >> snuff. My current @INC contains only >> /System/Library/Perl/5.8.8/darwin-thread-multi

Re: Adding to @INC

2009-01-07 Thread Adam Witney
On 7 Jan 2009, at 15:24, Vic Norton wrote: I just installed Mac OS X 10.5, and I'm trying to get Perl back up to snuff. My current @INC contains only /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Li

Adding to @INC

2009-01-07 Thread Vic Norton
I just installed Mac OS X 10.5, and I'm trying to get Perl back up to snuff. My current @INC contains only /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Ne

Re: @INC troubles and fun

2008-09-12 Thread Edward Moy
FWIW, the AppendToPath file is a general purpose mechanism to append paths to @INC. As shipped from Apple, it includes the Extras directory (which is where the third-party perl modules that we ship are installed), and (to provide backwards compatibility) it contains paths to previous

Fwd: @INC troubles and fun

2008-09-12 Thread David Green
Actually it is possible the below is for use by Apache... (or both) @INC OK, I have dug up some information I found some time ago... The standard (Tiger) implementation of @INC can be modified or added to via: /Library/Perl/5.8.6/AppendToPath I am assuming the equivalent in any installed

@INC troubles and fun

2008-09-12 Thread David Green
@INC OK, I have dug up some information I found some time ago... The standard (Tiger) implementation of @INC can be modified or added to via: /Library/Perl/5.8.6/AppendToPath I am assuming the equivalent in any installed version exists, but this will sort out 5.8.6. I think that might

Re: problem with @INC

2008-01-18 Thread Chas. Owens
.8.6/darwin-thread-multi-2level/PDL/Graphics/PGPLOT.pm > > any idea how to set @INC so that the PGPLOT modules are correctly located. snip Both of those files are PDL::Graphics::PGPLOT not PGPLOT. You need to install PGPLOT with "cpan install PGPLOT".

problem with @INC

2008-01-17 Thread ANJAN PURKAYASTHA
Hi, a use PGPLOT command in the PDL turns up this error: Can't locate PGPLOT.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/

Re: @INC problem

2007-02-22 Thread Vic Norton
On 2/22/07, at 7:27 PM -0500, Sherm Pendley wrote: > Possibly, someone replaced all your scripts #!/usr/bin/perl with #!/ > usr/local/bin/perl. Maybe you did that to test them against the newer > Perl and forgot to change it back, or maybe someone in your house has > a strange sense of humor.

Re: @INC problem

2007-02-22 Thread Doug McNutt
At 18:21 -0500 2/22/07, Vic Norton wrote: >So this is my question. How do I add "/Library/Perl/5.8.6" to @INC, without >having to add > use lib "/Library/Perl/5.8.6"; >to every script ? It's likely that there is abetter way, but. . . If you define the

Re: @INC problem

2007-02-22 Thread Sherm Pendley
On Feb 22, 2007, at 6:21 PM, Vic Norton wrote: Apple suggested I install something the other day. (Java or something like that.) I did it. Now I discover that many of my Perl scripts don't work. The problem is with @INC. It appears to have been upgraded to Perl 5.8.8. For example, w

@INC problem

2007-02-22 Thread Vic Norton
Apple suggested I install something the other day. (Java or something like that.) I did it. Now I discover that many of my Perl scripts don't work. The problem is with @INC. It appears to have been upgraded to Perl 5.8.8. For example, when I try use Date::Parse qw(str2time); I ge

Re: Strange problem with @INC

2007-01-11 Thread Jesse Engel
all suggestions are gladly welcomed. i haven't had any time to poke at it but hopefully i can find something good. i'm imagining that the lack of an xinitrc file other than the default is the culprit. i have installed perlmodules via fink and that probably has created some issues as well. thanks

Re: Strange problem with @INC

2007-01-11 Thread kurtz le pirate
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jesse Engel) wrote: > for some reason, X11 has a different version of @INC than reported with > apple's terminal. if i run > > perl -e 'foreach (@INC) { print "$_\n";}' with apple_termi

Re: Strange problem with @INC

2007-01-10 Thread Doug McNutt
At 08:53 -0500 1/10/07, Jay Savage wrote: >As I said before, you have two options here. Since reinstalling all >your Finked software manually probably isn't appealing, what you need >to do is use your .xinitrc file to setup the fink environment in X. >Either setup your PATH and PERL5LIB manually in

Re: Strange problem with @INC

2007-01-10 Thread Jay Savage
On 1/9/07, Jesse Engel <[EMAIL PROTECTED]> wrote: hmm, no, just the default /usr/bin/perl. i've thought about installing 5.8.8, but haven't yet. i changed my shell to bash (doesn't everyone?) in both xterm and apple_terminal and i did make a .bashrc in which i changed the default value of $PATH

Re: Strange problem with @INC

2007-01-10 Thread Joel Rees
On 平成 19/01/10, at 9:25, Jesse Engel wrote: hmm, no, just the default /usr/bin/perl. i've thought about installing 5.8.8, but haven't yet. i changed my shell to bash (doesn't everyone?) in both xterm and apple_terminal and i did make a .bashrc in which i changed the default value of $PATH t

Re: Strange problem with @INC

2007-01-09 Thread Ken Williams
On Jan 9, 2007, at 6:25 PM, Jesse Engel wrote: i'm poking through man x to see if i can find something. That's a red herring. As Jay indicated, the only difference between your two environments is that under Terminal.app you've got $PERL5LIB set (to /sw/lib/perl5), but under X11 you don

@INC issues...

2007-01-09 Thread Jesse Engel
i guess i spoke too late. the xinitrc file seems to be the key. thanks much. jesse __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Strange problem with @INC

2007-01-09 Thread Jesse Engel
hmm, no, just the default /usr/bin/perl. i've thought about installing 5.8.8, but haven't yet. i changed my shell to bash (doesn't everyone?) in both xterm and apple_terminal and i did make a .bashrc in which i changed the default value of $PATH to this: PATH=$PATH":/sw/bin:/usr/X11R6/bin:/usr/lo

Re: Strange problem with @INC

2007-01-09 Thread Jay Savage
On 1/9/07, Jesse Engel <[EMAIL PROTECTED]> wrote: for some reason, X11 has a different version of @INC than reported with apple's terminal. if i run perl -e 'foreach (@INC) { print "$_\n";}' with apple_terminal, i get /sw/lib/perl5/5.8.1/darwin-thread-multi-2le

Strange problem with @INC

2007-01-09 Thread Jesse Engel
for some reason, X11 has a different version of @INC than reported with apple's terminal. if i run perl -e 'foreach (@INC) { print "$_\n";}' with apple_terminal, i get /sw/lib/perl5/5.8.1/darwin-thread-multi-2level /sw/lib/perl5/5.8.1 /sw/lib/perl5/darwin-thread-multi

Re: @INC

2006-01-05 Thread Sherm Pendley
On Jan 5, 2006, at 3:41 PM, The Ghost wrote: The other perl was installed by darwinports. It doesn't ask questions. If it did, I wouldn't install it. I'm not concerned about incompatibilities You should be. as the perl versions are so close The versions are close, but the architectur

Re: @INC

2006-01-05 Thread Joel Rees
default location without bothering even to look at the difficult questions, I guess you will solve all you problems and end up with this: @INC: /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5

Re: @INC

2006-01-05 Thread The Ghost
olve all you problems and end up with this: @INC: /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6/darwin-2level /usr/local/

Re: @INC

2006-01-05 Thread John Delacour
/perl5/5.8.7/darwin-2level /opt/local/lib/perl5/5.8.7 ... If you download 5.8.7 and let it install itself in the default location without bothering even to look at the difficult questions, I guess you will solve all you problems and end up with this: @INC: /usr/local/lib/perl5/5.8.7/darwin

Re: @INC

2006-01-05 Thread Doug McNutt
At 12:15 -0600 1/5/06, The Ghost wrote: >How can I permanently add to @INC? I have 2 versions of perl installed and >only use one of them. The reason for 2 versions is a port system that >refuses to rely on the already installed perl. Try setting the PERL5LIB environment varia

@INC

2006-01-05 Thread The Ghost
How can I permanently add to @INC? I have 2 versions of perl installed and only use one of them. The reason for 2 versions is a port system that refuses to rely on the already installed perl. So I have: $ /usr/bin/perl -e 'print join("\n", @INC)' /System/Library/Perl

Re: @INC gone weird after repair

2004-08-25 Thread Sherm Pendley
/perl5.8.4/. That aside, how can I get my @INC back to the default so that all my installed modules will work again? Pick one: Delete /usr/bin/perl, which is currently a symlink to /usr/local/cb/perl5.8.4/bin/perl, and replace it with a symlink to /usr/bin/perl5.8.1. This will only affect script

@INC gone weird after repair

2004-08-25 Thread Alex Robinson
SX/File.pm in @INC (@INC contains: /usr/local/cb/perl5.8.4/lib/5.8.4/darwin-thread-multi-2level /usr/local/cb/perl5.8.4/lib/5.8.4 /usr/local/cb/perl5.8.4/lib/site_perl/5.8.4/darwin-thread-multi-2level /usr/local/cb/perl5.8.4/lib/site_perl/5.8.4 /usr/local/cb/perl5.8.4/lib/site_perl .) at /usr

Re: CPAN installing to somewhere not in @INC

2004-06-11 Thread Sherm Pendley
On Jun 10, 2004, at 7:27 PM, John Horner wrote: CPAN is running with the older version and reporting that everything's fine, but the scripts are running with the new version and for them, it's not. That sounds like a PATH issue. Scripts begin with #!/usr/bin/perl, so they use that specific perl.

Re: CPAN installing to somewhere not in @INC

2004-06-11 Thread John Horner
That's key - you need to understand that the module is *not* in an incorrect location. It's in the correct location for the Perl it was installed under, and your current Perl avoids looking in that location for a good reason. Nothing is broken in that regard. What you need to figure out is why

Re: CPAN installing to somewhere not in @INC

2004-06-10 Thread Sherm Pendley
On Jun 10, 2004, at 6:06 PM, John Horner wrote: This may be a frequently-asked question, but I've got installed modules which CPAN says are "up to date" but Perl can't find. @INC contains: /System/Library/Perl/5.8.1/darwin-thread-multi-2level ... snip ... but when I look

CPAN installing to somewhere not in @INC

2004-06-10 Thread John Horner
This may be a frequently-asked question, but I've got installed modules which CPAN says are "up to date" but Perl can't find. @INC contains: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level

Re: MacPerl INC question

2004-02-05 Thread AWLeverenz
In a message dated 2/5/04 12:37:24 AM, [EMAIL PROTECTED] writes: > > > So my next question is: What is Acrobat doing when opening a file that > > SetFileInfo isn't? > > Setting the correct file type?  :^) > > According to your previous message, you're doing this: > >     MacPerl::SetFileInfo(

Re: MacPerl INC question

2004-02-05 Thread John Delacour
At 10:48 pm -0500 4/2/04, [EMAIL PROTECTED] wrote: Interestingly, the problem I was trying to solve with MacPerl's SetFileInfo is still open. Once Perl set the creator/type... At 6:23 pm -0500 3/2/04, [EMAIL PROTECTED] wrote: MacPerl::SetFileInfo('CARO', 'PDF', $path); Is that precisely what you

Re: MacPerl INC question

2004-02-04 Thread John Gruber
[EMAIL PROTECTED] wrote on 2/4/04 at 10:48p: > So my next question is: What is Acrobat doing when opening a file that > SetFileInfo isn't? Setting the correct file type? :^) According to your previous message, you're doing this: MacPerl::SetFileInfo('CARO', 'PDF', $path); HFS file and cr

Re: MacPerl INC question

2004-02-04 Thread AWLeverenz
> I've written the following to sweep a folder and set creator/type for > pdf > files (coming off a Linux server). This works from MacPerl, but I > really need > to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which > @INC can't > locate?

Re: MacPerl INC question

2004-02-04 Thread Ken Williams
which @INC can't locate? ( #!/usr/bin/perl use MacPerl; ... ). If you install MacPerl.pm in the "obvious" way, then it should be found. Otherwise, if you install it in an alternate location, then you can do: use lib qw(/path/to/where/you/installed/it); use MacPerl; -Ken

Re: MacPerl INC question

2004-02-04 Thread Sherm Pendley
les either lack a proper .pdf extension, or will be used by Macs running older OSes. This works from MacPerl, but I really need to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which @INC can't Mac OS X doesn't need a special Perl - it comes with the standard UNIX Perl. What

Re: MacPerl INC question

2004-02-04 Thread Chris Nandor
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > #!perl > > use strict; > use warnings; > > my ($folder,$x,$file,$path); > my @files; > > $folder = ":pdf:"; This won't work in Mac OS X. You must use Unix paths. > opendir(PDF, "$folder") || die "$!"; > @files = readdir(PDF); > close

MacPerl INC question

2004-02-03 Thread AWLeverenz
I've written the following to sweep a folder and set creator/type for pdf files (coming off a Linux server). This works from MacPerl, but I really need to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which @INC can't locate? ( #!/usr/bin/perl use MacPerl; ... ). #

Re: How to add to @INC?

2003-10-26 Thread drieux
On Saturday, Oct 25, 2003, at 21:58 US/Pacific, Vic Norton wrote: [..] My question is this. How do I change my Perl 5.8.0 @INC so that it reads like ~/where_ever_I_am /opt/local/lib/perl5/5.8.0/darwin /opt/local/lib/perl5/5.8.0 /opt/local/lib/perl5/site_perl/5.8.0/darwin /opt

How to add to @INC?

2003-10-25 Thread Vic Norton
My Perl 5.8.0 resides in "/opt/local/bin/". Perl 5.6.0 is in "/usr/bin". When I start a script with #!/opt/local/bin/perl -w use Date::Parse; I get an error message because "Date::Parse" is in "/Library/Perl/Date" and my Perl 5.8.0 @INC doesn'

Re: Change to @INC on perl 5.8.1rc3

2003-07-31 Thread Sherm Pendley
On Thursday, July 31, 2003, at 9:31 AM, Paul Mison wrote: Compiling perl 5.8.1 release candidate 3 as recommended in INSTALL (rm -f config.sh Policy.sh; sh Configure -de; make; make test; sudo make install) has produced a different @INC to that in release candidate 2: Characteristics of this

Re: Change to @INC on perl 5.8.1rc3

2003-07-31 Thread Paul Mison
will go there. See what's in your @INC for 5.8.0. I have: Hmm. I don't have a 5.8.0. I only have the stock Apple perl 5.6.0, and perl5.8.1 (currently rc2, which I reverted to.) For 5.6.0, I have: Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES B

Re: Change to @INC on perl 5.8.1rc3

2003-07-31 Thread Chris Nandor
s a mistake. > The vast majority of modules you install from CPAN will go there. @INC is populated dynamically, and if you do not have a site_perl, it will not be included. That said, this may have been a change ... and if so, I welcome it. I don't want my local perl putting anything in /

Re: Change to @INC on perl 5.8.1rc3

2003-07-31 Thread David Wheeler
On Thursday, July 31, 2003, at 06:31 AM, Paul Mison wrote: Does anyone else see this behaviour? Is this a planned change? if site_perl was somehow left out of RC2, I suspect that was a mistake. The vast majority of modules you install from CPAN will go there. See what's in your @INC for

Change to @INC on perl 5.8.1rc3

2003-07-31 Thread Paul Mison
Compiling perl 5.8.1 release candidate 3 as recommended in INSTALL (rm -f config.sh Policy.sh; sh Configure -de; make; make test; sudo make install) has produced a different @INC to that in release candidate 2: Characteristics of this binary (from libperl): Compile-time options

Re: 2 "/Library/Perl" in @INC

2003-02-28 Thread drieux
On Thursday, Feb 27, 2003, at 08:22 US/Pacific, Riccardo Perotti wrote: I just did a perl -e 'print "$_\n" for @INC' in Terminal and both "/Library/Perl" and "/Network/Library/Perl" are listed twice. Why? about the only reasonablish reason I can

Re: 2 "/Library/Perl" in @INC

2003-02-28 Thread Vic Norton
Got me, Riccardo. I got doubling doubling as well, two different ways: ~% perl -e 'print "$_\n" for @INC' /sw/lib/perl5/5.6.1/darwin /sw/lib/perl5/5.6.1 /Library/Perl/darwin /Library/Perl /Library/Perl . ~% perl5.6.0 -e 'print "$_\n"

Re: 2 "/Library/Perl" in @INC

2003-02-28 Thread Ken Williams
On Thursday, February 27, 2003, at 10:22 AM, Riccardo Perotti wrote: I just did a perl -e 'print "$_\n" for @INC' in Terminal and both "/Library/Perl" and "/Network/Library/Perl" are listed twice. Why? I dunno - it's just compiled that way.

2 "/Library/Perl" in @INC

2003-02-28 Thread Riccardo Perotti
I just did a perl -e 'print "$_\n" for @INC' in Terminal and both "/Library/Perl" and "/Network/Library/Perl" are listed twice. Why? Riccardo -- mailto:[EMAIL PROTECTED] http://www.riccardoperotti.com

Re: Mac::MoreFiles breaks @INC (MacPerl 5.6.1)

2002-12-01 Thread Chris Nandor
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ken Williams) wrote: > Using MacPerl 5.6.1 under Classic (not Mac OS X perl), I've noticed that > loading Mac::MoreFiles alters @INC, as the following script demonstrates: > > --- script >u

Mac::MoreFiles breaks @INC (MacPerl 5.6.1)

2002-12-01 Thread Ken Williams
Hi, Using MacPerl 5.6.1 under Classic (not Mac OS X perl), I've noticed that loading Mac::MoreFiles alters @INC, as the following script demonstrates: --- script use lib qw(lib); print "Before, \@INC:\n", map " * $_\n", @INC; eval 'use M

Re: Adding path to @INC for use with web server

2002-10-11 Thread Adam Witney
h code. > -- > > Bill Stephenson > www.SecureShopper.com > 1-417-546-5593 > > > >> From: Adam Witney <[EMAIL PROTECTED]> >> Date: Thu, 10 Oct 2002 11:09:38 +0100 >> To: MacOS X perl <[EMAIL PROTECTED]> >> Subject: Adding path to @INC

Re: Adding path to @INC for use with web server

2002-10-10 Thread gene
>> From: Adam Witney <[EMAIL PROTECTED]> >> Date: Thu, 10 Oct 2002 11:09:38 +0100 >> To: MacOS X perl <[EMAIL PROTECTED]> >> Subject: Adding path to @INC for use with web server >> >> Hi, >> >> Searching the archives I have been a

Re: Adding path to @INC for use with web server

2002-10-10 Thread Bill Stephenson
, 10 Oct 2002 11:09:38 +0100 > To: MacOS X perl <[EMAIL PROTECTED]> > Subject: Adding path to @INC for use with web server > > Hi, > > Searching the archives I have been able to find out how to get Perl to > search other paths for modules when invoked from the term

Adding path to @INC for use with web server

2002-10-10 Thread Adam Witney
Hi, Searching the archives I have been able to find out how to get Perl to search other paths for modules when invoked from the terminal or from GUI apps such as BBEdit, however I cannot get them recognised by cgi scripts. I read somewhere to add this line to httpd.conf PerlSetEnv PERL5LIB /sw/

Re: Permanently add INC directory? - summary

2002-04-23 Thread Peter N Lewis
>Is there any way to globally add an INC directory to Perl after compilation? > >But it doesn't get set when I run Perl from within BBEdit or cron. >Is there any way to do this so it is truly global (it can just be >across me as the user or for all users, since I'm t

Re: Permanently add INC directory?

2002-04-22 Thread Rick Frankel
On Mon, Apr 22, 2002 at 10:26:49AM +0800, Peter N Lewis wrote: > Is there any way to globally add an INC directory to Perl after compilation? > > I know about setenv PERLLIB5 and do that in my .cshrc. > > But it doesn't get set when I run Perl from within BBEdit or cron. &

Re: Permanently add INC directory?

2002-04-21 Thread Dan Kogai
On Monday, April 22, 2002, at 11:50 , Levan, Jerry wrote: >> Is there any way to globally add an INC directory to Perl after >> compilation? >> >> I know about setenv PERLLIB5 and do that in my .cshrc. >> >> But it doesn't get set when I run Perl from with

Re: Permanently add INC directory?

2002-04-21 Thread Levan, Jerry
> Is there any way to globally add an INC directory to Perl after > compilation? > > I know about setenv PERLLIB5 and do that in my .cshrc. > > But it doesn't get set when I run Perl from within BBEdit or cron. > Is there any way to do this so it is truly global (it

Permanently add INC directory?

2002-04-21 Thread Peter N Lewis
Is there any way to globally add an INC directory to Perl after compilation? I know about setenv PERLLIB5 and do that in my .cshrc. But it doesn't get set when I run Perl from within BBEdit or cron. Is there any way to do this so it is truly global (it can just be across me as the user o