Syntactic Confectionery Delight | |
PerlMonks |
Re: File::Basename is dog slowby runrig (Abbot) |
on Dec 19, 2006 at 19:30 UTC ( [id://590753]=note: print w/replies, xml ) | Need Help?? |
I assume you're talking about this code (from parsefile): It recompiles a regex for every suffix on every call to parsefile. Yuck! This module could use another function that saves a regex to do the suffix checking (in a closure or an object). Or something :-)
In Section
Meditations
|
|