in reply to Parsing Pathnames
use Path::Tiny qw/ path /;
print path( qw[ /ro/sham/bo ] )->basename;
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (293 votes). Check out past polls.