Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: perl script to print just directory names

by Tommy (Chaplain)
on Dec 09, 2012 at 21:53 UTC ( #1008004=note: print w/replies, xml ) Need Help??


in reply to perl script to print just directory names

Use File::Util; my $f = File::Util->new(); my @dirs = $f->list_dir('C:\Input', qw( --dirs-only --recurse --with-p +aths ));
--
Tommy
$ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'