$ perl -E " use Path::Class; my $path = file(q[/ro/sham/bo.foo]); say +$path->parent; say $path->basename; " \ro\sham bo.foo
In reply to Re: How to seperate directory and file
by Anonymous Monk
in thread How to seperate directory and file
by Divakar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |