in reply to Re: file check loop
in thread file check loop

You don't want to initialize your array like so: my @races = undef; because like so, you already have an element in the array. Which is not what you want to do.
You can simply do my @races = (); OR more better my @races; just like toolic posted above.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me