Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
splitpath and catpath #1
splitpath and catpath should be opposites. Please See https://metacpan.org/module/File::Spec#splitpath. I am using rakudo 2012.09.
use v6; use File::Spec; my ($volume, $dirs, $filename) = File::Spec.splitpath('lib/Farabi.pm6'); say File::Spec.catpath($volume, $dirs, $filename);
results in the following: