Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    my $a = 'hello';
    my @foo = qw(1 2 3);
    my %bar = (this => 'that', one => 'un');
    print Data::Dumper->Dump( [$a, \@foo, \%bar], [qw/$a *foo *bar/] );
    
  2. or download this
    use Data::Dumper::Names;
    my $a = 'hello';
    my @foo = qw(1 2 3);
    my %bar = (this => 'that', one => 'un');
    print Dumper( $a, \@foo, \%bar );
    
  3. or download this
    use Data::Dumper::Simple;
    my $a = 'hello';
    my @foo = qw(1 2 3);
    my %bar = (this => 'that', one => 'un');
    print Dumper( $a, @foo, %bar );