On Wednesday 22 December 2004 04:35 pm, Isaac Sherman wrote:
> >> tcsh: hw.pl: Command not found.
Welcome to perl on OSX!
perl hw.pl works because perl is in your path and you are giving it hw.pl as
an argument.
> Unfortunately, even after setting PATH, it still gives the same error,
> whether
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
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 t
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 syn
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, 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 chm
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.
M
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 fil
> 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 als
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
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 relativ
> 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
Hey all,
I'm new to this list, and I am new to Perl as well. My primary reason for
learning Perl is in an attempt to automate more tasks in my other programs,
but, it also seems to me to be an interesting language that would increase
my general knowledge as a programmer.
And so it was that I star
13 matches
Mail list logo