Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: remove files starting with white from its folders and sub folders using perl?

by marinersk (Priest)
on Apr 18, 2017 at 13:17 UTC ( [id://1188214]=note: print w/replies, xml ) Need Help??


in reply to Re^2: remove files starting with white from its folders and sub folders using perl?
in thread remove files starting with white from its folders and sub folders using perl?

How i can give opendir it will read only the respected directory location.Here i want to read all folders and sub folders

Sometimes there isn't a way to do everything at once and you have to write code to perform the logic.

Of course, as 1nickt pointed out, there are modules out there which have already coded the logic, so you can do it all at once.

If you are constrained (for real or even if only in your imagination) from using a module, you'll need to write the code, and use of opendiris prescribed. (Hint: You'll have to do a loop, and recursion is usually employed as well.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-28 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found