Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2018-11-17 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (202 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!