Think about Loose Coupling | |
PerlMonks |
Re: What makes File::Find's interface so commonly hatedby itub (Priest) |
on Jul 16, 2006 at 14:01 UTC ( [id://561568]=note: print w/replies, xml ) | Need Help?? |
IMO: 1) requiring a confusingly-named subroutine that doesn't take arguments, but rather must use global variables is awkward. 2) If you actually want to produce a list of filenames (which is a very common scenario), you need to do it yourself. 3) Changing the working directory by default is not very nice.
In Section
Meditations
|
|