Front page | perl.beginners |
Postings from February 2002
Re: wondering what might be causing this error
Thread Previous
|
Thread Next
From:
Rob Genovesi
Date:
February 11, 2002 17:18
Subject:
Re: wondering what might be causing this error
Message ID:
5.1.0.14.2.20020211171701.01b6cdc0@mail.coastside.net
Was the file ever opened on a windows machine? Perhaps looking for ^M's or
similiar annoyances. The types of control characters should show up when
your using an editor (such as vi) on the file, but they are often not
visible of you are viewing the file in a pager (ie: more).
Just a thought ...
-R
At 08:07 PM 2/11/2002 -0500, you wrote:
>First, this is a shopping cart script, I've been in contact with the
>author, but since the machine the script is on is behind an annoying
>firewall (read doesn't seem to open ports when asked by the admin) I can't
>give him access to the server.
>
>the first 3 lines of the script are
>
>#!/usr/bin/perl
>#####################
>#
>
>Perl is located at /usr/bin/ it is version 5.6.1.
>
>
>Roger, thanks for the suggestion about the permissions, it didn't help,
>but was worth a try. I think it's supposed to be at least 711 so everyone
>can execute it.
>
>
>
>At 03:58 PM 11/02/02 -0800, you wrote:
>
>>Let's see the first 3-4 lines of the script..
>>
>>Agustin Rivera
>>Webmaster, Pollstar.com
>>http://www.pollstar.com
>>
>>
>>
>>----- Original Message -----
>>From: "Ian Christie" <ichristie@bmts.com>
>>To: <beginners@perl.org>
>>Sent: Monday, February 11, 2002 3:55 PM
>>Subject: wondering what might be causing this error
>>
>>
>> > Hi,
>> >
>> > I'm trying to get a script to work. I'm using linux and when I do
>>something
>> > like the following
>> >
>> > ../myscript.cgi
>> >
>> > I get
>> >
>> > bash: ./myscript.cgi: bad interpreter: no such file or directory
>> >
>> > I know the #! is correct. Could this be a bash problem? The script runs
>> > fine if I do
>> >
>> > perl ./myscript.cgi
>> >
>> >
>> > Ian Christie
>> > --------------------------------------------------------------------------
>>------------
>> >
>> > When the least they could do to you was everything,
>> > then the most they could do to you suddenly held no terror.
>> > -- (Terry Pratchett, Small Gods)
>> >
>>
>>
>>----------------------------------------------------------------------------
>>----
>>
>>
>> >
>> > ---
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> > Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/02
>> >
>> >
>>
>>
>>----------------------------------------------------------------------------
>>----
>>
>>
>> > --
>> > To unsubscribe, e-mail: beginners-unsubscribe@perl.org
>> > For additional commands, e-mail: beginners-help@perl.org
>>
>>
>>--
>>To unsubscribe, e-mail: beginners-unsubscribe@perl.org
>>For additional commands, e-mail: beginners-help@perl.org
>>
>>
>>
>>
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/02
>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.323 / Virus Database: 180 - Release Date: 08/02/02
>
>--
>To unsubscribe, e-mail: beginners-unsubscribe@perl.org
>For additional commands, e-mail: beginners-help@perl.org
Thread Previous
|
Thread Next