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 =]
|
|---|