Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Hi Monks could you pls help Perl dummy user

by LanX (Saint)
on Dec 17, 2014 at 02:06 UTC ( [id://1110592]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Hi Monks could you pls help Perl dummy user
in thread Hi Monks could you pls help Perl dummy user

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 ☆☆☆☆ :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-24 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found