Hi,

so I've done this script now --- my fourth perl script ever --- and
since I'm getting so much help here, I thought I'd post it here.  I'm
sure it could be done much better, it's just plain and simple.

It has one problem: The list of closed files can grow indefinitely, and
since the script checks whether a file that has been closed is already
listed, performance will degrade with the number of files on the closed
list increasing.  This check isn't exactly needed and can be removed;
other than that, I don't know (yet) what to do about that.

In any case, I come to really like perl :)


Attachment: longbow.pl.gz
Description: application/gzip


-- 
"Object-oriented programming languages aren't completely convinced that
you should be allowed to do anything with functions."
http://www.joelonsoftware.com/items/2006/08/01.html

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to