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

Re: [PBML] Find Files in specific Folder but Exclude Subdirectories

Expand Messages
  • merlyn@stonehenge.com
    ... Hans Why so much coding when it could be achieved much easier, having somewhere Hans deeper in the perl machine code a stop switch like stay in the
    Message 1 of 7 , Jul 26 9:18 AM
      >>>>> "Hans" == Hans Witschi <hwitche@...> writes:

      Hans> Why so much coding when it could be achieved much easier, having somewhere
      Hans> deeper in the perl machine code a stop switch like "stay" in the
      Hans> "$File::Find::name" module:

      Hans> find(sub {$name{$File::Find::name} = -f;}, @ARGV stay);

      What would "stay" do again? Maybe I missed your original
      problem, because my solution aborts *all* crawling mid-stride, when
      you hit a particular place.

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