Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: change files names bug (no readdir ever, use Path::Tiny)

by Anonymous Monk
on Oct 30, 2013 at 11:36 UTC ( #1060336=note: print w/ replies, xml ) Need Help??


in reply to change files names bug

You forgot to chdir to that dir after that readdir you did to that dir :P

opendir is not for people :) people, its for computers

Path::Tiny is for people, as is glob and File::Find::Rule and ...

use Path::Tiny for working with paths. no readdir, readdir is too low-level, and too confusing for noobs (everybody who tried to use readdir even once)

also whitespace is for people


Comment on Re: change files names bug (no readdir ever, use Path::Tiny)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-07-05 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls