Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
foreach $filename (<*>)
{
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks)
= stat($filename);
........
}
use Data::Dumper;
# create a hashref
my $hash = {};
# load the hash keys from a file
$hash = do "./data.txt" if -f "./data.txt";
# modify the hash or whatnot...
$hash->{$filename} = 1;
$hash->{$another_filename} = 1;
# save it to a file again
open (DATA, ">./data.txt");
print DATA Dumper($hash);
close (DATA);