Divakar has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
i have to split directory and file from below lines.
/vobs_ostore/osci/scripts/utils/ostore_releasefrom this i have to get like this.
$dir_name=/vobs_ostore/osci/scripts/utils/
$file_name=ostore_release.
i dont know how to split and get it.
any help please?
Thank you...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to seperate directory and file
by kcott (Archbishop) on Sep 14, 2012 at 07:41 UTC | |
Re: How to seperate directory and file
by ramesh824 (Initiate) on Sep 14, 2012 at 07:18 UTC | |
Re: How to seperate directory and file
by Anonymous Monk on Sep 14, 2012 at 08:22 UTC |
Back to
Seekers of Perl Wisdom