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.

After reading your reply, I looked up Perl Source Filters. No surprise to me, it's a concept I'm not advanced enough in Perl to even try out :)

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 reply to Re^2: sub running on use statement by Anonymous Monk
in thread sub running on use statement by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.