sub Path::Class::Entity::last_part { my $p = shift; return $p->is_dir ? $p->dir_list(-1) : $p->basename; }
In reply to Re: get the "last part" of a Path::Class object
by Anonymous Monk
in thread get the "last part" of a Path::Class object
by thepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |