--- Eduard Grinvald <[EMAIL PROTECTED]> wrote:
> oops, overlooked the obvious: you are opening the file for appending
> only, not for reading... :)

Ed beat me to it. =o)

> >     open(FILE, ">>$filename");

doesn't need the ">>".
Just say 
     open(FILE, $filename);

Though I'd add error checking:

     open FILE, $filename or die "$filename: $!";


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to