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

Re: Re: system pwd

by crouchingpenguin (Priest)
on May 21, 2003 at 23:27 UTC ( [id://259938]=note: print w/replies, xml ) Need Help??


in reply to Re: system pwd
in thread system pwd

And you can use the Dump method so the dump shows the actual variable name instead of $VAR1:

#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use Cwd; my $dir = getcwd(); print Data::Dumper->Dump([$dir],[qw(*dir)]),"\n";

Update: as well as what jkahn said, of course =]


cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."

Log In?
Username:
Password:

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

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

    No recent polls found