Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The problem is that with the select in the code the array @cons_block ends up with nothing in it. If I remove the select line all is well and @cons_block contains the keys for %conscols2. Any wisdom on why this is happening would be greatly appreciatedmy(%conscols2)=%{pop(@_)}; open(FILEHANDLE,">>filename"); select(FILEHANDLE); @cons_block=keys(%conscols2);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: FileHandle Select Problem?
by danboo (Beadle) on Apr 16, 2002 at 15:51 UTC | |
by keithbas (Initiate) on Apr 16, 2002 at 17:56 UTC |