Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?
[Corion]: holli: Was it a "twist-to-open" soda bottle? Or a German Mehrweg bottle with a twisty cap?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-09-25 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?