RE: Perl -w odd error

2003-06-13 Thread Yacketta, Ronald
Ronald'; [EMAIL PROTECTED] Subject: RE: Perl -w odd error Yacketta, Ronald wrote: > The problem is with the "use" statement use Fatal qw(open close); For > some reason if I do > > use Fatal qw(open close); > > I get the error, but if I do a > use Fatal; >

RE: Perl -w odd error

2003-06-13 Thread Bob Showalter
Yacketta, Ronald wrote: > The problem is with the "use" statement use Fatal qw(open close); For > some reason if I do > > use Fatal qw(open close); > > I get the error, but if I do a > use Fatal; > > I don't... 1. The idea behind Fatal is that you can omit the "or die..." stuff from your open(

RE: Perl -w odd error

2003-06-13 Thread Yacketta, Ronald
t: RE: Perl -w odd error The problem is with the "use" statement use Fatal qw(open close); For some reason if I do use Fatal qw(open close); I get the error, but if I do a use Fatal; I don't... -Ron -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: F

RE: Perl -w odd error

2003-06-13 Thread Yacketta, Ronald
, 2003 10:45 To: 'Yacketta, Ronald'; [EMAIL PROTECTED] Subject: RE: Perl -w odd error Yacketta, Ronald wrote: > Rob, > > Line 151 _IS_ @FILE=; and here is the entire block of code > > sub OTTExecute() > { > system($ExecCmd); > $success = $? >> 8

RE: Perl -w odd error

2003-06-13 Thread Bob Showalter
Yacketta, Ronald wrote: > Rob, > > Line 151 _IS_ @FILE=; and here is the entire block of code > > sub OTTExecute() > { > system($ExecCmd); > $success = $? >> 8; > printNotice ("$success\n"); > > if ( ! $success ) > { > my ($record_count, @

RE: Perl -w odd error

2003-06-13 Thread Yacketta, Ronald
on `hostname`"; } } _EXACT_ error: Name "main::CNTFILE" used only once: possible typo at ./OrderTakingTree.pl line 151. -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:52 To: [EMAIL PROTECTED] Subject: Re: Perl -

Re: Perl -w odd error

2003-06-13 Thread Rob Dixon
Ronald Yacketta wrote: > Folks, > > I have the following block of code: > > open (CNTFILE, "${OUTPUTFILE}") or die "Can't open ${OUTPUTFILE} : > $!"; > @FILE=; > close(CNTFILE); > > Which reports this warning: > > Name "main::CNTFILE" used only once: possible typo at ./Order

RE: Perl -w odd error

2003-06-13 Thread Yacketta, Ronald
-- From: Yacketta, Ronald [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: Perl -w odd error Folks, I have the following block of code: open (CNTFILE, "${OUTPUTFILE}") or die "Can't open ${OUTPUTFILE} : $!"; @

RE: Perl -w odd error

2003-06-12 Thread Miller, Joseph S
-- From: Yacketta, Ronald [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: Perl -w odd error Folks, I have the following block of code: open (CNTFILE, "${OUTPUTFILE}") or die "Can't open ${OUTPUTFILE} : $!"; @

RE: Perl -w odd error

2003-06-12 Thread Charles K. Clarkson
Yacketta, Ronald <[EMAIL PROTECTED]> wrote: : I have the following block of code: : : open (CNTFILE, "${OUTPUTFILE}") or die "Can't open : ${OUTPUTFILE} : : $!"; : @FILE=; : close(CNTFILE); : : Which reports this warning: : : Name "main::CNTFILE" used only once: possib

Perl -w odd error

2003-06-12 Thread Yacketta, Ronald
Folks, I have the following block of code: open (CNTFILE, "${OUTPUTFILE}") or die "Can't open ${OUTPUTFILE} : $!"; @FILE=; close(CNTFILE); Which reports this warning: Name "main::CNTFILE" used only once: possible typo at ./OrderTakingTree.pl line 151. I am just opening