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

Reply via email to