Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Directory independent processing

by Tanktalus (Canon)
on Oct 16, 2012 at 23:21 UTC ( #999443=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use File::Spec;
    my $project_dir = File::Spec->catdir( File::Spec->rel2abs(__FILE__), F
    +ile::Spec->updir() );
    
  2. or download this
    use File::Spec;
    my $project_dir;
    BEGIN { $project_dir = File::Spec->catdir( File::Spec->rel2abs(__FILE_
    +_), File::Spec->updir() ); }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-07-22 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (106 votes), past polls