There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Catmandu::Fix::basename - get file basename

SYNOPSIS

add_field('path','/home/njfranck')

#'path' is now 'njfranck'

basename('path')

AUTHOR

Nicolas Franck, <nicolas.franck at ugent.be>

SEE ALSO

Catmandu::Fix