http://www.perlmonks.org?node_id=179960


in reply to Re: Re: how to rename all files in a dir
in thread how to rename all files in a dir

Its not a matter of not wanting the full path... readdir() can't really give you the full path. It take a DIRHANDLE as an argument, and there is no fool-proof way of getting the correct "full path" from a DIRHANDLE.

-Blake