in reply to RE: RE: Re: nonworking subroutine
in thread nonworking subroutine
when I call this subroutine, all my other variables get lost, cause after this call there's more code, then calls to subroutines to print out my data. Those calls work no problems, but when I stick this subroutine call in my main function, all my varialbes/data collected to print get zero'd. (i hope I'm explaining this correctly). All I want to do is read a file, split the data, then later compare the data to other variables collected. If they are in this table, ok... if they are not, to print to this table. Similar problem to my first question. I thought I solved it, but I was wrong yet again!.. .. I also tried using eq as stated before, didn't work. (the numbers are set, size/length of numbers won't change) ... anyone else? I've done the almost the same thing with another function call, .. opened a file, split it and used the info that I populated into arrays for comparison, and no problem, why one here though?.. is it because I opened up this file for append (>>) ?sub table{ seek(TRACK, 0, 0); while (<TRACK>){ @trk_data = split(/;/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: Re: nonworking subroutine
by chromatic (Archbishop) on Oct 18, 2000 at 08:54 UTC |