Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
There's more than one way to do things
 
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.


Comment on Re: unlink unworking
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://12056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-04-17 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (436 votes), past polls