Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Paths in Perl

by Anonymous Monk
on Sep 04, 2001 at 19:05 UTC ( #110049=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Chdir;
    
    sub TIESCALAR {my $class = shift; bless \$class => $class}
    sub STORE     {${$_ [0]} = $_ [1]; chdir $_ [1]}
    sub FETCH     {${$_ [0]}}
    
  2. or download this
    package main;
    
    ...
    }
    
    print "Dir = " . `pwd`;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2014-10-23 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls