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

Re: distribution config file

by IOrdy (Friar)
on Jun 19, 2006 at 07:39 UTC ( #556198=note: print w/replies, xml ) Need Help??


in reply to distribution config file

How about a combination of rel2abs and splitpath to get the directory.
#!/usr/bin/perl use strict; use warnings; use File::Spec::Functions qw(rel2abs splitpath); print rel2abs((splitpath(__FILE__))[1]);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://556198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2023-02-01 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (11 votes). Check out past polls.

    Notices?