Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: Hi Monks could you pls help Perl dummy userby LanX (Saint) |
on Dec 17, 2014 at 02:06 UTC ( [id://1110592]=note: print w/replies, xml ) | Need Help?? |
it descends only one level, because the second read_dir gets a one-dir path which isn't valid from top level. either use chdir $dir; and chdir '..' at start and end or keep a full path. you already got full functioning code with File::Find , better use it.
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :)
In Section
Seekers of Perl Wisdom
|
|