in reply to rename files in directory with new extenstion
On older Perl's, what if your directory exceeds the limit of the shell?
And before using glob freely, I like worrying about what happens if someone use a space in a path. I see no reason to open myself up to that.
As you can tell, I like to be the kind of person who anticipates potential problems and heads them off at the pass. So even though it isn't so short, I tend to use an explicit opendir/readdir/grep solution rather than globbing. YMMV.
|
---|