Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: search folder and delete certain files with perl

by Your Mother (Canon)
on Dec 08, 2011 at 14:11 UTC ( #942440=note: print w/ replies, xml ) Need Help??


in reply to Re^3: search folder and delete certain files with perl
in thread search folder and delete certain files with perl

Why bother with a module when stat is available?

Also because CountZero's example is more legible which makes it more elegant and more maintainable. I have to focus my attention more to read your code, and I would have to consult perldoc -f stat if I had any trouble with remembering what the hell falls at [9]; which I would. Positional arguments/values are good for computers but my human brain tunes out after two of them.

Maybe this is an extremely reliable module that everyone uses, but how do I know?

Try it and exercise good judgement. Read the numerous five star reviews of it on CPAN ratings. See how often it's been used in answers here by beautiful and talented monkses.


Comment on Re^4: search folder and delete certain files with perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-12-18 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls