Help for this page

Select Code to Download


  1. or download this
    package foo;
    use strict;
    ...
        return $self->{_foo};
    }
    1;
    
  2. or download this
    package bar;
    use strict;
    ...
        return $self->{_bar};
    }
    1;
    
  3. or download this
    package foobar;
    use strict;
    ...
        return $self->foo() . $self->bar();
    }
    1;
    
  4. or download this
    use strict;
    use foobar;
    ...
        my $fb = new foobar( foo=>'Lance', bar=>'Deeply' );
        print $fb->getFooBar() ."\n";
    }