Re: New to list, greetings and a (newbie)problem

2004-12-23 Thread Conrad Schilbe
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Robert D . Sharp
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Isaac Sherman
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Trey Harris
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Rick Anderson
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Trey Harris
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Sherm Pendley
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread John Delacour
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Isaac Sherman
> 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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Bill Stephenson
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread Morbus Iff
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

Re: New to list, greetings and a (newbie)problem

2004-12-22 Thread allan juul
> 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

New to list, greetings and a (newbie)problem

2004-12-22 Thread Isaac Sherman
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