You're opening the file for writing, but trying to read from it. Therefore your @gb array gets no data when you do:
@gb = <GB>;
Try opening the file for reading (or read/write) and see if it makes a difference.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Re: Re: Re: Re: pushing
by davorg
in thread pushing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |