Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
[b][red]This message was edited by davidrtg at 2004-1-28 14:19:49[/red][/b][hr]
I'm trying to get the modified date from a file using the stat function and its not working for me.
$myfile = "http://www.domain.com/test/manuals/file.pdf
print "Modified on $ops";
[/code] I get no values in @ops
. Any idea as to why this might not be working?
EDIT: I've changed the code to
[code]@ops = stat($myfile) or print "
I'm getting its not finding the file but the file is there.
Doing some more research I found that stat() doesn't need to use File::stat; although using and not using it I get the same results.
0 · ·