Re: opening a file



George <george@xxxxxxxxxxxxxxx> wrote:

open(50, '<eph4.txt');


You should always, yes *always*, check the return value from open():

open(50, '<eph4.txt') or die "could not open 'eph4.txt' $!";


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
.