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.
--
If we fail, we will lose the war.
Michael Lamertz | [EMAIL PROTECTED] / [EMAIL PROTECTED]
Nordstr. 49 | http://www.lamertz.net
50733 Cologne | Work: +49 221 3091-121
Germany | Priv: +49 221 445420 / +49 171 6900 310
- pulling out part of a /path/to/a/file Sandor W. Sklar
- Re: pulling out part of a /path/to/a/file Kevin Meltzer
- Re: pulling out part of a /path/to/a/file Michael Lamertz
- Re: pulling out part of a /path/to/a/file Kevin Meltzer
- Re: pulling out part of a /path/to/a/file Casey West
- Re: pulling out part of a /path/to/a/file Sandor W. Sklar
- Re: pulling out part of a /path/to/a/file Michael Lamertz
- Re: pulling out part of a /path/to/a/file Andy Sharp
- Re: pulling out part of a /path/to/a/file Walnut
- RE: pulling out part of a /path/to/a/file Larry Shatzer
