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'
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
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
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
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.
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
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
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