Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-12-11 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.