Syntactic Confectionery Delight | |
PerlMonks |
Re (tilly) 3: Deleting Filesby tilly (Archbishop) |
on Feb 24, 2001 at 03:47 UTC ( [id://60580]=note: print w/replies, xml ) | Need Help?? |
With Perl 5.6 globbing no longer uses the shell. As for the filesystem, ReiserFS on Linux is supposed to handle that kind of directly smoothly. However ext will slow to a crawl, and NTFS appears to as well. The problem, of course, is that every mention of a file requires scanning the list of things in the directory, which means that you scan a list of many thousands of files many thousands of times. Unless the filesystem is designed for that, you have a problem. Recommended solutions? Hierarchical structures (which is what most filesystems are designed to do), a dbm, a
In Section
Seekers of Perl Wisdom
|
|