Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to seperate directory and file

by kcott (Canon)
on Sep 14, 2012 at 07:41 UTC ( #993666=note: print w/replies, xml ) Need Help??


in reply to How to seperate directory and file

G'day Divakar,

The built-in module File::Spec has a number of functions for manipulating pathnames: splitpath() would be the one to use here.

-- Ken

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2016-12-09 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.