On Sun, Mar 14, 2004 at 06:20:21PM -0500, Wiggins d'Anconia wrote:

> Ohad Ohad wrote:
> >chown seems to be able only to follow links and change the destination.
> >
> >Anyway to change the link itself, I wouldn't want to run system("chown 
> >-h $file") . . .
> >
> >I'm using various unix machine (Linux, SunOs etc.)
> >
> 
> Remove the link and re-create it.
> 
> perldoc -f unlink
> perldoc -f symlink

Hardly elegant or safe though, is it?

This recent thread on perl5-porters may be interesting:

http://groups.google.com/groups?threadm=rt-3.0.8-27547-81120.4.31272465729066%40perl.org

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to