Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Why $FIle::Find::prune = 1 returns used only once error

by h2 (Beadle)
on Apr 16, 2021 at 21:57 UTC ( [id://11131393]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use File::Find;
    
  2. or download this
    Require File::Find; 
    File::Find->import(qw(find));
    
  3. or download this
    sub wanted {
      if ($File::Find::name =~ m%^/path/detection%){
        $File::Find::prune = 1;
        return;
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11131393]
Approved by jcb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found