If the first line of the script is:

#!/path/to/perl

then it is not necessary.

-----Original Message-----
From: Paul Rodríguez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 10:40 AM
To: [EMAIL PROTECTED]
Subject: RE: [newbie] Execute Programs


I thought that to run a perl script (i.e. "foo.pl") you needed to write
"perl foo.pl".  Is this wrong?

-Paul R

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Édison Andrés
Sent: Wednesday, February 21, 2001 7:54 PM
To: Linux Novatos
Subject: [newbie] Execute Programs


Hello everybody.

I have a problem with my linux.  When I try execute a program make in C
or Perl (I not probe with others languages), the shell shows: "command
not found".

The files have permission for executable (755) and when I execute like a
cgi programs, the navigator shows the result without problems.

I think (In the case of Perl) that i need put the Perl like a Enviroment
Variable, but I don't know how can i do this.

Any idea?

--
Édison Andrés Rivera Noreña
Ingeniero de Sistemas
Departamento de Informática
Universidad de San Buenaventura
Medellín - Colombia
[EMAIL PROTECTED]
http://www.usb-med.edu.co/~neos



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to