Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Deleting Files on NT

by gaggio (Friar)
on Jul 24, 2000 at 18:34 UTC ( [id://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);

Replies are listed 'Best First'.
RE: Re: Deleting Files on NT
by BBQ (Curate) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://24074]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found