[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: extracting last part of cwd
Bennett Todd <bet@rahul.net> wrote:
> Is there a "perl-users" mailing list out there anywhere?
>
> If not, maybe there should be, for the benefit of people who not
> have access to netnews? It's easy enough to set up a list with
> automatic archiving these days; would it be a good idea?
I think this would be a good idea as well. Perhaps not a new
list altogether, but a gateway to/from comp.lang.perl.misc.
> If you are more interested in portability, I'd tend to recommend
> File::Basename:
>
> use File::Basename;
> my $dir = basename $mycwd;
This is exactly what I was looking for, thanks Bennett!
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]