Don't ask to ask, just ask | |
PerlMonks |
Re^2: sub running on use statementby Anonymous Monk |
on Dec 02, 2014 at 17:36 UTC ( [id://1109013]=note: print w/replies, xml ) | Need Help?? |
Spooky. I do have a source filter running, but I'm nowhere near as knowledgeable in Perl as I will be (someday). So I expect you mean something different, something that I don't yet understand.
The subroutine in question is recursive - it calls itself to fill an array with all the file names in a directory tree. One of the scalars passed by reference is a filter string, used with match expressions to select files or directories by name. The spooky part is that one of the directories is a Source. Specifically, SourceFiles. So during initial processing of the data, one of the filters I use to select files is SourceFiles. So, in a way, I do have a Source(Files) filter in my script.
The confluence of that term and the name of one of my directories was an interesting coincidence. Or maybe it wasn't a coincidence...perhaps you're not لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ as you claim to be ... ( insert spooky music here )
In Section
Seekers of Perl Wisdom
|
|