A port of Perl's File::Chown to Raku, using Lizmat's Butterfly project
The usual
zef install Sys::Chown
use Sys::Chown;
# chown by user-/group names
chown <foo bar baz>, "ujang", "ujang";
# numeric ID's still work
chown ["myfile.txt"], -1, 500;
# option: use a reference file's owner/group instead of specifying directly,
# like the Unix chown command's --reference=FILE.
chown(["mypasswd"], {ref => "/etc/passwd"} );
chown(<foo bar>, "1001:1001");
Licensed under the Artistic 2.0 License (the same as Raku itself).