in reply to Uploading Time
my $path = 'c:\\path\\file'; # The path and file name my $filename = (split (/[\/\\]/, $path))[-1]; # Split on / and \, and +then get the last element
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Uploading Time
by Anonymous Monk on Jun 13, 2002 at 23:12 UTC | |
by SarahM (Monk) on Jun 13, 2002 at 23:33 UTC |