Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: delete a file

by kyoshu (Curate)
on Jun 16, 2005 at 09:15 UTC ( #467218=note: print w/ replies, xml ) Need Help??


in reply to delete a file

you do not have the file on the system or you
are trying to delete file which you can not delete
because of file permisions, or you execute your
script from some other directory than ../data/.

# mkdir dir
# touch dir/file
# ls dir/
file
# perl -e 'unlink "dir/file" or die "failure\n";'
# ls dir/
#


Comment on Re: delete a file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2014-09-18 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (113 votes), past polls