Ahh yes.. I didn't go down all the examples.. once he said he wanted to use
File::Basename I wouldn't think he wanted anything put the end. Now he knows
how to get the basename as well ;)
Cheers,
Kevin
On Tue, Apr 24, 2001 at 07:19:02PM +0200, Michael Lamertz
([EMAIL PROTECTED]) spew-ed forth:
> Kevin Meltzer ([EMAIL PROTECTED]) wrote:
> > Just use the basename() method from File::Basename;
> >
> > # perl -MFile::Basename -e 'print basename("/tmp/foo/003/File-11523.1")';
> > File-11523.1
>
> That won't help him with this line:
>
> > > /home4/dsadmin/7790/DocuShare/documents/b004/File-1156/html/main.htm
>
> Casey's is the way to do it.
>
--
"I know the human being and fish can coexist peacefully."
-- G.W. Bush, Saginaw, MI 09/29/2000