Then, when, in the terminal, I typed: hw.pl while in the same
directory, I
got the following message.
tcsh: hw.pl: Command not found.
what happens if you type : perl hw.pl
?
./allan
Then, when, in the terminal, I typed: hw.pl while
in the same directory, I got the following message.
tcsh: hw.pl: Command not found.
Try ./hw.pl (no quotes). Most shells and OSs will NOT let you run
scripts in the working (ie. where I'm currently located) directory
unless you use a relative
On Dec 22, 2004, at 2:53 PM, Isaac Sherman wrote:
tcsh: hw.pl: Command not found.
Welcome to Perl I think you're going to learn to love this humble
tool. I sure have.
Anyway, type this:
perl hw.pl
(ie. type in perl before the name of your script.
Bill
In a message dated Wed, 22 Dec 2004, Isaac Sherman writes:
Then, when, in the terminal, I typed: hw.pl while in the same directory, I
got the following message.
tcsh: hw.pl: Command not found.
My meanderings in the Terminal showed that /usr/bin/perl does indeed exist.
I also tried chmod
At 3:53 pm -0500 22/12/04, Isaac Sherman wrote:
Then, when, in the terminal, I typed: hw.pl while in the same directory, I
got the following message.
tcsh: hw.pl: Command not found.
As others have said, you can run junk.pl using the command
perl junk.pl
and this will work even if a) the
On Dec 22, 2004, at 3:53 PM, Isaac Sherman wrote:
#!/usr/bin/perl
use strict;
use warnings;
An excellent start! Always ask Perl for all the help it can give you.
Then, when, in the terminal, I typed: hw.pl while in the same
directory, I
got the following message.
tcsh: hw.pl: Command not found.
In a message dated Wed, 22 Dec 2004, Isaac Sherman writes:
Then, when, in the terminal, I typed: hw.pl while in the same directory, I
got the following message.
tcsh: hw.pl: Command not found.
My meanderings in the Terminal showed that /usr/bin/perl does indeed exist.
I also tried chmod 755
On Dec 22, 2004, at 12:53 PM, Isaac Sherman wrote:
I'm new to this list, and I am new to Perl as well.
Isaac, just judging from your problem, it appears that you're probably
a bit new to all things Unix as well (not trying to sound
condescending, just an observation.) I got on OS X for the first
In a message dated Wed, 22 Dec 2004, Trey Harris writes:
1. setting PATH to include .:
setenv PATH $PATH:.
Sorry, that should have been
setenv PATH ${PATH}:.
Sorry, tcsh isn't my primary shell and I confuse the syntax sometimes.
(In bash, zsh, or other Bourne-compatible shells, the
on 12/22/04 5:31 PM, the method -(id)[EMAIL PROTECTED]:(id)
sender:@Rick Anderson; returned:
On Dec 22, 2004, at 12:53 PM, Isaac Sherman wrote:
I'm new to this list, and I am new to Perl as well.
Isaac, just judging from your problem, it appears that you're probably
a bit new to all
I lurk on this list and I have read every post for years, Isaac, the
recommendation for Unix book(s) is absolutely correct. Or you could do
a google search on unix commands and/or go to a public library and
see what book can get there.
Understanding the background environment is essential to
11 matches
Mail list logo