mikeo has asked for the wisdom of the Perl Monks concerning the following question:
When I comment out the first two lines of this code and the last two lines of this code (effectively, all of the code that handles the looping), the script works fine. When I leave them in, I get the apparent buffer overflow problems with the FileHandle. Anybody have any idea what's going on?$TIMER = 10; while (TRUE) { &initialScreenOut; &beginFileIO; &htmlHeader; &timeStamp; &legend; my @PORTS = ("24","26","26","26"); my @BASE = ("0x0000F6AE2D41","0x0000F6BC4401","0x0000F6BC3B41","0x0000 +F6BC5C01"); &makeTable ( "134.200.212.109","DeskStream1", 4, 26, \@BASE, \@PORTS); my @PORTS2 = ("24","24","26"); my @BASE2 = ("0x0000F6D83301","0x0000F6E2E901","0x0000F64C09C1"); &makeTable ( "134.200.212.190","DeskStream2", 3, 26, \@BASE2, \@PORTS2 +); my @PORTS3 = ("26","24","24"); my @BASE3 = ("0x0000F64C2701","0x0000F64C2281","0x0000F64C3981"); &makeTable ( "134.200.212.189","DeskStream3", 3, 26, \@BASE3, \@PORTS3 +); &htmlFooter; &finalScreenOut; sleep($TIMER); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Buffer overflow
by PrakashK (Pilgrim) on Jul 07, 2001 at 01:53 UTC | |
by mikeo (Initiate) on Jul 07, 2001 at 02:06 UTC | |
by ChemBoy (Priest) on Jul 07, 2001 at 10:39 UTC | |
by PrakashK (Pilgrim) on Jul 09, 2001 at 20:57 UTC | |
by mikeo (Initiate) on Jul 09, 2001 at 18:37 UTC | |
|
Re: Buffer overflow
by synapse0 (Pilgrim) on Jul 07, 2001 at 02:06 UTC | |
|
Re: Buffer overflow
by MZSanford (Curate) on Jul 07, 2001 at 13:18 UTC |