Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Parsing Pathnames ( Path::Tiny )

by Anonymous Monk
on Apr 03, 2014 at 23:04 UTC ( #1081035=note: print w/replies, xml ) Need Help??


in reply to Parsing Pathnames

use Path::Tiny qw/ path /; print path( qw[ /ro/sham/bo ] )->basename; __END__ bo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081035]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-10-18 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (250 votes). Check out past polls.

    Notices?