Doesn't this leave the file open during the while?  It might be OK 
in this case depending on the size of the file or what is being done,
but if it were doing something intensive on a big file (or if you 
needed the data from the file after the while loop), couldn't this 
cause problems if something else update the file?

>a side note:  read your text file like this:
>
>open DATA, "bigdawgs.txt";
>
>while (<DATA>) {
>
>   # do something.....
>
>}
>
>close DATA;








-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to