good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Finding files excluding someby Nkuvu (Priest) |
on Mar 30, 2009 at 22:35 UTC ( [id://754268]=note: print w/replies, xml ) | Need Help?? |
Very minor syntax preference: If I'm looking to exclude files, I generally return from the 'wanted' function, which just reduces the level of indentation in the subroutine. For example:
Does the same thing as your code, just organized a bit differently.
In Section
Seekers of Perl Wisdom
|
|