Re: another beginner question

2002-09-10 Thread drieux
On Tuesday, Sep 10, 2002, at 07:53 US/Pacific, Mike Singleton wrote: > Something like this then??? > === Start === > use constant JOBSTART => 'SNBJH_3203J'; > # Condense start > use constant CONDSTART => 'SNBJH_3403'; > # Job end > use constant JOBEND => 'SNBJH_3211J'; > # Condense end > u

Re: another beginner question

2002-09-10 Thread Mike Singleton
Error: Syntax error, near "CONDEND" == Start === # Job start use constant JOBSTART => 'SNBJH_3203J'; # Condense start use constant CONDSTART => 'SNBJH_3403'; # Job end use constant JOBEND => 'SNBJH_3211J'; # Condense end use constant CONDEND => 'SNBJH_3401J'; # Job cancelled use constant J

Re: another beginner question

2002-09-10 Thread Mike Singleton
Something like this then??? === Start === use constant JOBSTART => 'SNBJH_3203J'; # Condense start use constant CONDSTART => 'SNBJH_3403'; # Job end use constant JOBEND => 'SNBJH_3211J'; # Condense end use constant CONDEND => 'SNBJH_3401J'; # Job cancelled use constant JOBCANC => 'SNBJH_3

Re: another beginner question

2002-09-10 Thread Steve Grazzini
Janek Schleicher <[EMAIL PROTECTED]> wrote: > Mike Singleton wrote at Mon, 09 Sep 2002 19:19:22 +0200: >> ... >> my %statcode = >> ( "$JOBEND" => '0', >> "$CONDEND" => '0', >> "$JOBFAIL" => '-1', >> "$JOBCANC" => '-2', >> ); > > perldoc -q 'What's wrong with always quot

Re: another beginner question

2002-09-09 Thread Janek Schleicher
Mike Singleton wrote at Mon, 09 Sep 2002 19:19:22 +0200: > I think that I have bit off more than I can chew here I hope, it's O.K., if I'll give some other hints: > ... > my $HELP=" > : > > This script must be run on the Backup Express master server. > > "; You could also use a HERE

Re: another beginner question

2002-09-09 Thread Michael Fowler
On Mon, Sep 09, 2002 at 11:24:01AM -0700, david wrote: > also, the way you create your temp file is not reliable. there are better > ways to do what you need. you might want to goto cpan and search for a > module(i can never remember it's name!) that suits your need. You're probably thinking of

Re: another beginner question

2002-09-09 Thread david
Mike Singleton wrote: > I think that I have bit off more than I can chew here > > Error: The process cannot access the file because it is being used by > another process. > > open (OUTF,">$OUT_TEMP") || die "Cannot open output file $!"; > my @files = glob('3*.log'); > $grepexpr = "egrep > \