File::Path::Expand - expand filenames
use File::Path::Expand;
say expand-filename( '~/path/to/hoge.txt' );
まだ ecosystem に追加してないので:
$ zef install https://github.com/noqisofon/raku-File-Path-Expand.git
でインストールできます。
Copyright 2021 Ned Rihine
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.