Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Paths in Perl

by Anonymous Monk
on Sep 04, 2001 at 19:05 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found