Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: unlink unworking

by Maqs (Deacon)
on May 17, 2000 at 13:16 UTC ( #12056=note: print w/replies, xml ) Need Help??


in reply to unlink unworking

To avoid errors in creating links and directories you can use readlink function
i.e. readlink($theLink); to chech if the link exists.
Then you'd better use time() function to create a uniq name of your directory
i.e.
$dirname = $path.time();

/Maqs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://12056]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2016-12-10 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (160 votes). Check out past polls.