[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 · ·