> Now, this script worked fine when I was running it under Perl on my
> own machine (Windows XP) but when I convert it to CGI and upload it to
> my site (Apache run) I start having this problem. I can make it work
> if I use CHOP but I know that I shouldn't have to do it that way.
What OS is your Apache running on? If is non-Windows you might have to convert the text file to Unix endings before uploading the file.
My host's Apache is running on Unix. I am very unfamiliar with Unix (I
don't intend to stay that way). How do I go about converting my files
or is it just as easy to use CHOP and forget about it?
Thanks
Andy
--- In perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com, Bob Kardell <bobkardell...> wrote:
>
> ----- Original Message ----
>
> > Now, this script worked fine when I was running it under Perl on my
> > own machine (Windows XP) but when I convert it to CGI and upload
it to
> > my site (Apache run) I start having this problem. I can make it work
> > if I use CHOP but I know that I shouldn't have to do it that way.
>
> What OS is your Apache running on? If is non-Windows you might have
to convert the text file to Unix endings before uploading the file.
>
> Just a thought,
>
> Bob
>
dos2unix datafile
You can get the complete list of options by
dos2unix --help
On 9/22/07, Andy Schafer < lostgameparts%40yahoo.com">lostgamepartsyahoo.com> wrote:
>
> Hi,
>
> My host's Apache is running on Unix. I am very unfamiliar with Unix (I
> don't intend to stay that way). How do I go about converting my files
> or is it just as easy to use CHOP and forget about it?
>
> Thanks
> Andy
>
> > --- In perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com <perl-beginner%40yahoogroups.com>,
> Bob Kardell <bobkardell...> wrote:
> >
> > ----- Original Message ----
> >
> > > Now, this script worked fine when I was running it under Perl on my
> > > own machine (Windows XP) but when I convert it to CGI and upload
> it to
> > > my site (Apache run) I start having this problem. I can make it work
> > > if I use CHOP but I know that I shouldn't have to do it that way.
> >
> > What OS is your Apache running on? If is non-Windows you might have
> to convert the text file to Unix endings before uploading the file.
> >
> > Just a thought,
> >
> > Bob
> >
>
>
>
--
---------------------------------------------
Mg. Hernán Gonzalo Asorey
Instituto Balseiro - CAB
(8400) San Carlos de Bariloche
Río Negro - Rep. Argentina
---------------------------------------------
cabtep5.cnea.gov.ar/~asoreyh/
[Non-text portions of this message have been removed]