Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    ...
    }
    
    1;
    
  2. or download this
    use Data::Dumper ();
    
    my $foo = Foo->new(a => 1, b => 2, c => [qw/apple banana grape/]);
    
    print Data::Dumper::Dumper(\$foo)
    
  3. or download this
    $VAR1 = \bless( {
                       'b' => 2,
    ...
                       'a' => 1
                     }, 'Foo' );
    
  4. or download this
    package Foo;
    
    ...
    }
    
    1;
    
  5. or download this
    $VAR1 = \bless( [
                       'a',
    ...
                         'grape'
                       ]
                     ], 'Foo' );