Perl, cron and prebinding puzzle.

2003-12-16 Thread Robin
I have the following script #!/usr/bin/perl -w open (OUT ,"> /Users/robin/env.cron") || die; $ENV{'RUN_AT'}= localtime; for $key(keys(%ENV)){ print OUT $key," = ",$ENV{$key},"\n"; } close (OUT); which runs as expected from the command line, but entered in my (admin) crontab thus 5 * * * * "/U

Re: Reconfiguring CPAN

2003-12-16 Thread Phil Dobbin
On 16/12/03 17:10, "Huw Jenkins" <[EMAIL PROTECTED]> wrote: > I've just configured CPAN on a brand new 10.3 system. However I've balls the > config up and can't get CPAN to "make" anything. How do I reconfigure CPAN? `cpan o conf [opt]' Regards, Phil.

Re: Reconfiguring CPAN

2003-12-16 Thread Huw Jenkins
Please disregard this question, I worked it out ;-) Thanks Huw Jenkins > From: Huw Jenkins <[EMAIL PROTECTED]> > Date: Tue, 16 Dec 2003 17:10:23 + > To: "perl.org" <[EMAIL PROTECTED]> > Subject: Reconfiguring CPAN > > Hi there, > > I've just configured CPAN on a brand new 10.3 system. How

Reconfiguring CPAN

2003-12-16 Thread Huw Jenkins
Hi there, I've just configured CPAN on a brand new 10.3 system. However I've balls the config up and can't get CPAN to "make" anything. How do I reconfigure CPAN? Regards Huw Jenkins

Re: Path problem

2003-12-16 Thread David Wheeler
On Dec 16, 2003, at 6:38 AM, Vic Norton wrote: Thanks for the tip, Ken. I was not aware of FindBin. The combination use FindBin($Bin); use lib "$Bin/../ThisProjectLib; is a particularly nice idea. For maximum portability, I use: use File::Spec::Functions qw(catdir updir); use FindBin qw($B

Re: Path problem

2003-12-16 Thread Vic Norton
Thanks for the tip, Ken. I was not aware of FindBin. The combination use FindBin($Bin); use lib "$Bin/../ThisProjectLib; is a particularly nice idea. Regards, Vic At 10:21 PM -0600 12/15/03, Ken Williams wrote: Yeah, that's a BBEdit-specific quirk. For a more general solution you might w