chdir still isn't throwing a CATCHable error. It now lives in src/core/IO.pm
proto sub chdir(|$) { * }
multi sub chdir($path as Str) {
try {
pir::new__PS('OS').chdir($path)
}
$! ?? fail($!) !! True
}
--
Will "Coke" Coleda
chdir still isn't throwing a CATCHable error. It now lives in src/core/IO.pm
proto sub chdir(|$) { * }
multi sub chdir($path as Str) {
try {
pir::new__PS('OS').chdir($path)
}
$! ?? fail($!) !! True
}
--
Will "Coke" Coleda