Why not use File::Path?
$ ls foo ls: foo: No such file or directory $ perl -MFile::Path -e 'mkpath "foo/bar/baz"' $ ls -d foo/bar/baz foo/bar/baz/
Update: Err, forget it. It's already been pointed out.
--
David Serrano
In reply to Re^2: How to find code written by smart people
by Hue-Bond
in thread How to find code written by smart people
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |