Get/Set Filetime
AUTHOR
stmuk
You want to get and set a utime on a file's inode
#!/usr/bin/env raku
use v6;
my $fn = $?FILE;
my Instant $i = $fn.IO.accessed;
my $dt = $i.to-posix;
say :$dt.perl;
# vim: expandtab shiftwidth=4 ft=perl6
stmuk
You want to get and set a utime on a file's inode
#!/usr/bin/env raku
use v6;
my $fn = $?FILE;
my Instant $i = $fn.IO.accessed;
my $dt = $i.to-posix;
say :$dt.perl;
# vim: expandtab shiftwidth=4 ft=perl6
Resoures
Learning
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.