Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[Discipulus]: fall asleep? coffee time!
Discipulus when in motorbike it is impossible to fall asleep.. another advantage
marioroy I once fell asleep while drive and had no collection on how I exited the ramp. Then called my wife not knowing where I was totally lost.
marioroy At a large firm, had to awaken a security guy a few times so that nobody would catch him sleeping.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-05-29 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?