Guest_imported
New member
- Jan 1, 1970
- 0
The "random.txt" file resides in the same folder as the function call.
-------------------RESULT------------------------------
$device is :
$ino is :
$mode is :
$nlink is :
$uid is :
-------------------SCRIPT-----------------------------
open (INFILE, "random.txt"
or die ("error"
;
($device,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat(random.txt);
close INFILE;
print('$device is :'.$device."\n"
;
print('$ino is :'.$ino ."\n"
;
print('$mode is :'.$mode."\n"
;
print('$nlink is :'.$nlink."\n"
;
print('$uid is :'.$uid."\n"
;
-------------------RESULT------------------------------
$device is :
$ino is :
$mode is :
$nlink is :
$uid is :
-------------------SCRIPT-----------------------------
open (INFILE, "random.txt"
($device,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat(random.txt);
close INFILE;
print('$device is :'.$device."\n"
print('$ino is :'.$ino ."\n"
print('$mode is :'.$mode."\n"
print('$nlink is :'.$nlink."\n"
print('$uid is :'.$uid."\n"