Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-06-28 11:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (357 votes). Check out past polls.