- or download this
$obj->foo( 'bar' );
$value1 = $obj->foo;
$obj->baz( 'qux' );
$value2 = $obj->baz;
- or download this
$products = $obj->get_product;
$product = $obj->get_product( $product_id );
- or download this
sub new {
my $self = shift;
my %args = @_;
bless { ... }, $self;
}
- or download this
sub as_string {
my $self = shift;
...
if ($mode =~ /rss/i) {
...
}
- or download this
$self->{_xsl_string} = _http_get($uri);
- or download this
$self->{_xsl_string} = $self->_http_get($uri);