On Thu, May 26, 2005 at 02:26:29PM +0300, Offer Kaye wrote:
> On 5/26/05, Peter Rabbitson <[EMAIL PROTECTED]> wrote:
> > Is this:
> >
> > my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
> >
> > the only OS independent (unix/win32) way to determine the absolute path of
> > the
On 5/26/05, Peter Rabbitson <[EMAIL PROTECTED]> wrote:
> Is this:
>
> my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
>
> the only OS independent (unix/win32) way to determine the absolute path of
> the directory which contains the current process, or there is a less cryptic
>
On Thu, May 26, 2005 at 05:48:41AM -0500, Peter Rabbitson wrote:
> On Thu, May 26, 2005 at 05:38:50AM -0500, Peter Rabbitson wrote:
> > Is this:
> >
> > my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
> >
> > the only OS independent (unix/win32) way to determine the absolute
On Thu, May 26, 2005 at 05:38:50AM -0500, Peter Rabbitson wrote:
> Is this:
>
> my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
>
> the only OS independent (unix/win32) way to determine the absolute path of
> the directory which contains the current process, or there is a les
Is this:
my $path = [File::Spec->splitpath (File::Spec->rel2abs ($0))]->[1];
the only OS independent (unix/win32) way to determine the absolute path of
the directory which contains the current process, or there is a less cryptic
way that I am overlooking?
P.S. I know the above will not work if