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.orgThread Previous | Thread Next