http://qs321.pair.com?node_id=725400


in reply to array reading problem

You're assigning the result of the open to the array, rather than reading the file:
open(DPATH,"..."); my @r = <DPATH>; ...

rdfield