On Thu, Sep 25, 2003 at 05:15:56PM +0300, Juris wrote:
> On Thu, 25 Sep 2003 12:10:15 +0530, Chetak Sasalu M
> <[EMAIL PROTECTED]> wrote:
>
> >
> >Hi,
> >How can I extract "filename" from /root/dir1/.../filename
> $path_name='/root/dir1/.../filename';
> my $fname=substr($path,
> rindex($path,"/
On Thu, 25 Sep 2003 12:10:15 +0530, Chetak Sasalu M
<[EMAIL PROTECTED]> wrote:
Hi,
How can I extract "filename" from /root/dir1/.../filename
$path_name='/root/dir1/.../filename';
my $fname=substr($path, rindex($path,"/")+1,length($path)-rindex($path,"/")-
1);
Cheers,
Chetak.
--
wbr,
Juris
--
To
Chetak Sasalu M wrote:
>
> Hi,
Hello,
> How can I extract "filename" from /root/dir1/.../filename
use File::Basename;
my $filename = basename( $path );
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
How can I extract "filename" from /root/dir1/.../filename
Cheers,
Chetak.
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by th