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
There are two different things you have to keep in mind when working with
paths from the cgi-bin on a Windows machine -- access for Perl, and access
for the web.
When I want to give Perl access to something, I usually use Windows style
paths -- this avoids the confusion that can arise with per