Re: A Beginner's problem

2005-01-14 Thread Doug Essinger-Hileman
On 13 Jan 2005 at 7:58, JupiterHost.Net wrote: open (CONTROL1, test.cont); always always test to see if it opened or not: (and don't use double quotes when nothgin is beinf interpolated so Perl doesn't have to check it to see if somethign needs interpolated) open CONTROL1, 'test.cont'

Re: A Beginner's problem

2005-01-14 Thread Lawrence Statton
The script will be scheduled to run every Saturday at noon. When that happens, what happens with the error message? I realize that this is probably rather obvious to those who have worked at *nix for a while, but I am as much a *nix beginner as a Perl beginner. Doug You know, one way

Re: A Beginner's problem

2005-01-14 Thread Alfred Vahau
When that happens, what happens with the error message? The error message remains but it will be printed only if the file cannot be opened for some reason e.g. the file does not exist. That is what the or is there for. but I am as much a *nix beginner as a Perl beginner Stick with Perl and it

Re: A Beginner's problem

2005-01-14 Thread John W. Krahn
Doug Essinger-Hileman wrote: On 13 Jan 2005 at 7:58, JupiterHost.Net wrote: open (CONTROL1, test.cont); always always test to see if it opened or not: (and don't use double quotes when nothgin is beinf interpolated so Perl doesn't have to check it to see if somethign needs interpolated) open

A Beginner's problem

2005-01-13 Thread Doug Essinger-Hileman
I am just learning Perl, and am having a problem with something which seems like it should be so easy. Still . . . . I have read through a couple of books, including _Beginning Perl_ and _Picking Up Perl_, to no avail. I am trying to read a file, then assign some information within a script.

RE: A Beginner's problem

2005-01-13 Thread Bob Showalter
Doug Essinger-Hileman wrote: I am just learning Perl, and am having a problem with something which seems like it should be so easy. Still . . . . I have read through a couple of books, including _Beginning Perl_ and _Picking Up Perl_, to no avail. Welcome! I am trying to read a file, then

Re: A Beginner's problem

2005-01-13 Thread JupiterHost.Net
Doug Essinger-Hileman wrote: I am just learning Perl, and am having a problem with something which seems like it should be so easy. Still . . . . I have read through a couple of books, including _Beginning Perl_ and _Picking Up Perl_, to no avail. I am trying to read a file, then assign some

Re: A Beginner's problem

2005-01-13 Thread John W. Krahn
Doug Essinger-Hileman wrote: I am just learning Perl, and am having a problem with something which seems like it should be so easy. Still . . . . I have read through a couple of books, including _Beginning Perl_ and _Picking Up Perl_, to no avail. I am trying to read a file, then assign some