Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to seperate directory and file

by kcott (Abbot)
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


Comment on Re: How to seperate directory and file
Download Code

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 perusing the Monastery: (11)
As of 2014-12-26 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (168 votes), past polls