|
for example, i m trying to find the last modified time for the file rio.txt thats on codetoad (just an example) in the following script... but it gives me the epoch time..
wats wrong? wat am i suppose to do to correct it.
#! perl -w
$FilePath = 'http://www.codetoad.com/forum/rio.txt';
my @attribs = (stat ($FilePath) );
$mtime1=$attribs[9];
print $mtime1;
print "Last change:\t" . localtime($mtime1) . "\n";
|
|
|
|
|
|
|
|
|
// |