You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usev6;
use File::Spec;
my ($volume, $dirs, $filename) = File::Spec.splitpath('lib/Farabi.pm6');
say File::Spec.catpath($volume, $dirs, $filename);
results in the following:
Unable to coerce value for '$start' from WhateverCode to Int; no coercion method defined
in method substr at src/gen/CORE.setting:1994
in method catpath at lib/File/Spec/Unix.pm:113
in method catpath at lib/File/Spec.pm:36
in block at test.p6:5
The text was updated successfully, but these errors were encountered:
splitpath and catpath should be opposites. Please See https://metacpan.org/module/File::Spec#splitpath. I am using rakudo 2012.09.
results in the following:
The text was updated successfully, but these errors were encountered: