Re: Dumb path question

2009-03-11 Thread David Cantrell
On Tue, Mar 10, 2009 at 02:48:07PM -0600, Doug McNutt wrote: At 20:25 + 3/10/09, John Delacour wrote: At 21:10 -0600 9/3/09, Doug McNutt wrote: At 22:24 -0400 3/9/09, Chris Devers wrote: How can a Perl script reliably, portably resolve the path inside which it is running?... portable

Re: Dumb path question

2009-03-11 Thread Siegel Anno
On 10.03.2009, at 21:25, John Delacour wrote: At 21:10 -0600 9/3/09, Doug McNutt wrote: At 22:24 -0400 3/9/09, Chris Devers wrote: How can a Perl script reliably, portably resolve the path inside which it is running?... $0 That's a zero. Has always worked for me to produce a full

Re: Dumb path question

2009-03-11 Thread Chris Devers
The solution I went with, which seems to work for initial testing, is roughly as follows: use File::Basename; use Cwd qw[realpath]; my $opts_tool = get_optstool(); system(/usr/bin/open '$opts_tool') and die Couldn't execute $opts_tool: $!; sub get_optstool { my $optstool = Optimize Mac.app;

IO object version 1.22 does not match bootstrap parameter 1.23

2009-03-11 Thread Noah
Any clues why this is happening and how can I cure the issue? Any help is appreciated. I get this error just about every time I invoke perl. $ sudo -H cpan -i CGI::Application IO object version 1.22 does not match bootstrap parameter 1.23 at