On Thu, Jul 14, 2005 at 03:27:04PM -0700, Gisle Aas wrote: > I would like to be able to pass file handles to chmod(), chown() and > chdir() and have perl call the corresponding fxxx() function. This is > similar to how perl treats the argument of stat() or truncate(). > > Below is an implementation that make perl call fchmod(). If there are > no objections to this approach, I'll complete a patch that includes > the other 2 functions and comes with tests and documentation. > Configure already probes for the availability of these functions. >
If I remember correctly, these are all in perltodo, so, I would guess that doing it would be just fine. :) Steve Peters [EMAIL PROTECTED]