You can make use of File::Basename to accomplish your job.
use File::Basename; $dirname= dirname($filepath);
Prasad
In reply to Re: removing the last word
by prasadbabu
in thread removing the last word
by s_gaurav1091
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |