Well, I think I figured it out.
When I reviewed the examples in Perl Cookbook more closely I realized that
the array has to be big enough to hold all the lines that go back into the
existing file. If we run our script shortly after midnight, parsing for
date, most of the lines will go to the
I am trying to find the first occurrance of a date string in several
different files in order to re-write all of today's entries back into the
existing log file after taking out all the old entries to be archived. (I
also realize lots of folks have done this and I'm sure come up with much
on OS/390 there is no unix2dos command available. So, if I use the file
as
is, it is sent in the email but it comes out with no carriage returns,
etc.,
making the file unreadable when it is of any significant size.
You can use a simple oneliner in Perl to convert text files see
My PERL program uses the File::Find routine to find files that match a
certain description, and then build a file that contains a list of these
filenames.
Later I pass that file with the list of filenames to an archive program,
invoked via the system function.
The File::Find puts the names
.
--
From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 11:13 AM
To: Rice, Elizabeth A.
Subject: Re: File names on NT
The following message is a courtesy copy of an article
that has been posted to perl.beginners as well.
Elizabeth == Elizabeth
I've been looking for a tool to send a email to multiple recipients, using a
file as input to the body of the message, that will working on multiple
operating systems, and is fairly simple since I'm new at this.
I've investiaged Mail::Mailer and Net::SMTP, but maybe because I'm a newbie
these