Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] File::Find and prune

Expand Messages
  • merlyn@stonehenge.com
    ... Pavlos I would like also to ask about if I need to return true of Pavlos false in wanted routine? Pavlos If I return 0 or 1 what is the impact of that
    Message 1 of 8 , Jan 1, 2004
    • 0 Attachment
      >>>>> "Pavlos" == Pavlos Parissis <p_pavlos@...> writes:

      Pavlos> I would like also to ask about if I need to return true of
      Pavlos> false in wanted routine?

      Pavlos> If I return 0 or 1 what is the impact of that to find?

      The return value of "wanted" is ignored. At best, you can influence
      directory descent by altering $File::Find::prune.

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.