Tree

IO

; my @makedirs; while $path !~~ :e { @makedirs.push($path); $path.=parent; } for @makedirs.reverse -> $dir { mkdir($dir, $mask) or return False unless $dir.e; } True; }

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.