RE: [newbie] Execute Programs

2001-02-22 Thread Paul Rodríguez

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 Andrs
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 Andrs Rivera Norea
Ingeniero de Sistemas
Departamento de Informtica
Universidad de San Buenaventura
Medelln - Colombia
[EMAIL PROTECTED]
http://www.usb-med.edu.co/~neos



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





RE: [newbie] Execute Programs

2001-02-22 Thread Owens, Blaine C

If the first line of the script is:

#!/path/to/perl

then it is not necessary.

-Original Message-
From: Paul Rodrguez [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 Andrs
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 Andrs Rivera Norea
Ingeniero de Sistemas
Departamento de Informtica
Universidad de San Buenaventura
Medelln - Colombia
[EMAIL PROTECTED]
http://www.usb-med.edu.co/~neos



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





RE: [newbie] Execute Programs

2001-02-21 Thread Mark Johnson

Have you tried using the ./ way of staring programs?

example:
./myprog

-Original Message-
From: dison Andrs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4: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 Andrs Rivera Norea
Ingeniero de Sistemas
Departamento de Informtica
Universidad de San Buenaventura
Medelln - Colombia
[EMAIL PROTECTED]
http://www.usb-med.edu.co/~neos






[newbie] Execute Programs

2001-02-20 Thread Édison Andrés

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 Andrs Rivera Norea
Ingeniero de Sistemas
Departamento de Informtica
Universidad de San Buenaventura
Medelln - Colombia
[EMAIL PROTECTED]
http://www.usb-med.edu.co/~neos