- or download this
warn Data::Dumper->Dump(
[$foo, \%this, \@array, \%that],
[qw/*foo *that *array *this/]
);
- or download this
use Data::Dumper::Simple;
warn Dumper($foo, %this, @array, %that);
- or download this
use Data::Dumper;
warn Dumper($foo, $bar, $baz);
- or download this
$VAR1 = 3;
$VAR2 = 2;
$VAR3 = 1;
- or download this
warn Data::Dumper->Dump(
[$foo, $bar, $baz],
[qw/*foo *bar *baz/]
);
- or download this
$foo = 3;
$bar = 2;
$baz = 1;
- or download this
warn Data::Dumper->Dump(
[$foo, \@array],
[qw/*foo *array/]
);
- or download this
$foo = 3;
@array = (
8,
'Ovid'
);
- or download this
warn Data::Dumper->Dump(
[$foo, \%this, \@array, \%that],
[qw/*foo *that *array *this/]
);
- or download this
use Data::Dumper::Simple.
warn Dumper($scalar, @array, %hash);
- or download this
$scalar = 'Ovid';
@array = (
...
'I' => 'hope',
'at' => 'least'
);
- or download this
my $foo = { hash => 'ref' };
my @foo = qw/foo bar baz/;
warn Dumper ($foo, \@foo);
- or download this
$foo = {
'hash' => 'ref'
...
'bar',
'baz'
);
- or download this
Dumper($foo, some_sub()); # Bad!