Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Recursive Directory print

by kcott (Chancellor)
on Mar 07, 2014 at 08:50 UTC ( #1077354=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub print_rec {
    
  2. or download this
    opendir DIR, shift;
    
  3. or download this
    if(!/\.|\.\./ && -d $_)
    
  4. or download this
    return print_rec($_);
    
  5. or download this
    elsif (!-d) { ... }
    
  6. or download this
    #!/usr/bin/env perl -l
    
    ...
            }
        }
    }
    
  7. or download this
    ...
    DIR: mastering_perltk_demo_code
    ...
                fontviewer
            DIR: ch04
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1077354]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-07-23 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (458 votes). Check out past polls.

    Notices?