Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: File Attributes in Win32

by Eureka_sg (Monk)
on May 01, 2001 at 18:55 UTC ( [id://76982]=note: print w/replies, xml ) Need Help??


in reply to File Attributes in Win32

I could be wrong but I think that when you use -A on the filename, you need to specify the path as well unless the file is located in the same directory as where you call the script.( similiar to your unlink ("$dirPath\\$file") statement)

As a result, undef is being returned instead of the number of days since the file couldn't be found.

Replies are listed 'Best First'.
Re: Re: File Attributes in Win32
by azatoth (Curate) on May 01, 2001 at 19:00 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-25 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found