Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Deleting Files on NT

by gaggio (Friar)
on Jul 24, 2000 at 18:34 UTC ( #24074=note: print w/ replies, xml ) Need Help??


in reply to Deleting Files on NT

Could you please show us your code?

It would then be much easier to solve your problem, as apparently you have access to the files.

It is also possible that you would only have a "Read-Only" access, so check it by doing this:

Win32::File::GetAttributes($file, $attrib);


Comment on Re: Deleting Files on NT
Download Code
RE: Re: Deleting Files on NT
by BBQ (Deacon) on Jul 24, 2000 at 18:51 UTC
    Do you really need a module for that? I've always used:
    -w # file is writable -r # file is readable -e # file exists
    Just those three usually cut it when I'm trying to do stuff on the filesystem. If anything more complex than just that is required, I go to stat().

    #!/home/bbq/bin/perl
    # Trust no1!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-12-22 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (113 votes), past polls