in reply to Re: Re: Using Basename
in thread Using Basename

blueapache,
broquaint said HTH (had to hurry). Try this slightly modified code:
#!/usr/bin/perl -w use strict; use File::Basename; my @result = `find '.' -type f -name '*.pl' -print` or die "No scripts + found - $! \n"; chomp @result; my @basenames = map { basename($_) } @result; print $_, $/ for @basenames;
Cheers - L~R

Replies are listed 'Best First'.
Re: Re: Re: Re: Using Basename
by sauoq (Abbot) on Nov 17, 2003 at 19:01 UTC
    broquaint said HTH (had to hurry).

    How about "Hope This Helps" or "Hope That Helps" or "Happy To Help" maybe?

    I'd guess broquaint meant one of the first two as the last is usually offered after a "thanks".

    -sauoq
    "My two cents aren't worth a dime.";
    
Re: Re: Re: Re: Using Basename
by mrpeabody (Friar) on Nov 18, 2003 at 00:15 UTC
    Limbic~Region:

    I read HTH, especially at the end of a message, as Hope That Helps.

    edit: oops, missed sauoq's more timely reply

Re: Re: Re: Re: Using Basename
by blueapache (Acolyte) on Nov 18, 2003 at 08:50 UTC
    thanks this works a treat