[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-WebCGI] Unable to locate files



Hi-
I could have sworn that require will accept / delimited paths, even on macs.
At least it has worked for me in the past.
--Quentin
----- Original Message -----
From: "Adam Witney" <witneya@nmrc.navy.mil>
To: "Amitava Basu" <incas@vsnl.net>; "macperl-webcgi"
<macperl-webcgi@macperl.org>
Sent: Sunday, December 17, 2000 2:10 PM
Subject: Re: [MacPerl-WebCGI] Unable to locate files


>
> you have the wrong file separator for a mac... these
>
> >require "$path/dcshop.setup";
> >require "$path/dclib.pl";
> >require "$path/cgi-lib.pl";
>
> should be something like
>
> >require "$path:dcshop.setup";
> >require "$path:dclib.pl";
> >require "$path:cgi-lib.pl";
>
> adam
>
>
> ----------
> >From: Amitava Basu <incas@vsnl.net>
> >To: macperl-webcgi <macperl-webcgi@macperl.org>
> >Subject: [MacPerl-WebCGI] Unable to locate files
> >Date: Sun, Dec 17, 2000, 6:24 PM
> >
>
> >Hi:
> >
> >I am unable to locate file required to run the program.
> >I wonder if I have made any mistake.
> >
> >an anyone help.
> >
> >thanks
> >
> >Amitava
> >
> >
> >
> >
> >#!/usr/bin/perl
> >
> ># Define directory path to your setup file.
> ># Use relative path if you can
> >
> >$path=".";
> >
> ># require setup file and cgi-lib library file
> >
> >require "$path/dcshop.setup";
> >require "$path/dclib.pl";
> >require "$path/cgi-lib.pl";
> >
> >==== Want to unsubscribe from this list?
> >==== Send mail with body "unsubscribe" to
macperl-webcgi-request@macperl.org
>
> ==== Want to unsubscribe from this list?
> ==== Send mail with body "unsubscribe" to
macperl-webcgi-request@macperl.org
>


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org