RE: Construct Question

2002-02-06 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > Sorry about not including code. Basically, it is: > > > > open(REGION_NAME, " > while($region = ) { perldiag says: Value of %s can be "0"; test with defined() (W misc) In a conditional expression, you used , <*> (glob), "eac

RE: Construct Question

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: > > I am using the -w option and yes, I do make checks for > open and close. The input file is only 6 lines long. > The only thing not included in the code I gave was the > open/close file checks. Well, I guess using die on a f

RE: Construct Question

2002-02-06 Thread mike . silver
help Michael Silver -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:38 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Construct Question On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: > Sorry about

Re: Construct Question

2002-02-06 Thread Randal L. Schwartz
> "Shawn" == Shawn <[EMAIL PROTECTED]> writes: >> > close(REGION_NAME); >> >> You should also test to make sure the close worked, like you do for the >> opening. Shawn> I have never heard of such a thing? Is it a common problem to Shawn> have files not close? And if it does not close, wh

Re: Construct Question

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002, Shawn wrote: > > You should also test to make sure the close worked, like you do for the > > opening. > > I have never heard of such a thing? Is it a common problem to have > files not close? And if it does not close, what problems would you have > (assuming that the file wo

Re: Construct Question

2002-02-06 Thread Shawn
[snip] > > > > close(REGION_NAME); > > You should also test to make sure the close worked, like you do for the > opening. I have never heard of such a thing? Is it a common problem to have files not close? And if it does not close, what problems would you have (assuming that the file would clo

RE: Construct Question

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: > Sorry about not including code. Basically, it is: > > > > open(REGION_NAME, " while($region = ) { > print "$region"; > } You can use the default variable here ($_): while() { print; }

Re: Construct Question

2002-02-06 Thread Shawn
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 2:12 PM Subject: RE: Construct Question > > Sorry about not including code. Basically, it i

RE: Construct Question

2002-02-06 Thread mike . silver
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 3:21 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Construct Question On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: > Can anyone stand me up on this > > I keep getting a warning message: > &

Re: Construct Question

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote: > Can anyone stand me up on this > > I keep getting a warning message: > > "Value of construct can be "0"; test with defined() at > mk_LNPTYPE_counts line 65535" > > What does this mean? > > What does line 65535 refer

Construct Question

2002-02-06 Thread mike . silver
Hello, Can anyone stand me up on this I keep getting a warning message: "Value of construct can be "0"; test with defined() at mk_LNPTYPE_counts line 65535" What does this mean? What does line 65535 refer to? I only have about 20 lines of code.