G'day Divakar,
The built-in module File::Spec has a number of functions for manipulating pathnames: splitpath() would be the one to use here.
-- Ken
In reply to Re: How to seperate directory and file
by kcott
in thread How to seperate directory and file
by Divakar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |