[sf-perl] Embedded Perl in a Korn shell program

Loo, Peter # PHX Peter.Loo at source.wolterskluwer.com
Fri May 11 15:47:03 PDT 2007

Yes Quinn, I did think about using a database to do the date
calculation, but because I only need to add a "day" to this single value
in the file, I had decided against using the database.  It is working
great now.  Perl is not being used for multiple pass in a loop.

-----Original Message-----
From: sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.org
[mailto:sanfrancisco-pm-bounces+peter.loo=source.wolterskluwer.com at pm.or
g] On Behalf Of Quinn Weaver
Sent: Friday, May 11, 2007 3:38 PM
To: San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] Embedded Perl in a Korn shell program

On Fri, May 11, 2007 at 03:27:40PM -0700, Loo, Peter # PHX wrote:
> Here is what I am doing:
> YYYYMMDD is a value retrieved from a file.  This file contains the 
> date of a previously processed file date.

Sounds like you're pushing some pretty complicated syntax and semantics
into a flat file.  Of course, I don't know if you have Korn-specific
stuff in there, but... have you considered using a relational database

Quinn Weaver, independent contractor  |  President, San Francisco Perl
http://fairpath.com/quinn/resume/     |  http://sf.pm.org/
SanFrancisco-pm mailing list
SanFrancisco-pm at pm.org

This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.

More information about the SanFrancisco-pm mailing list