in reply to Re: advice for reading data from a file
in thread advice for reading data from a file
thanks for your answer,
actually the code seems to works fine on the files.
concerning the 'die' in the sub i need it because if one file is faulty the whole process need to be stopped.
in fact i first check all the files type with an eval {} and the sub die in case of an error so i can catch it
but i didn't tell about that in my post so thanks anyway :)