HTTP-Headers-ActionPack
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/HTTP/Headers/ActionPack/Core/Base.pm view on Meta::CPAN
package HTTP::Headers::ActionPack::Core::Base;
BEGIN {
$HTTP::Headers::ActionPack::Core::Base::AUTHORITY = 'cpan:STEVAN';
}
{
$HTTP::Headers::ActionPack::Core::Base::VERSION = '0.09';
}
# ABSTRACT: A Base class
use strict;
use warnings;
use overload '""' => 'as_string', fallback => 1;
sub new {
my $class = shift;
my $self = $class->CREATE( $class->BUILDARGS( @_ ) );
$self->BUILD( @_ );
$self;
}
sub BUILDARGS { +{ ref $_[0] eq 'HASH' ? %{ $_[0] } : @_ } }
sub CREATE {
my ($class, $instance) = @_;
bless $instance => $class;
}
sub BUILD {}
sub as_string {
my $self = shift;
"$self"
}
1;
__END__
=pod
=head1 NAME
HTTP::Headers::ActionPack::Core::Base - A Base class
=head1 VERSION
version 0.09
=head1 SYNOPSIS
use HTTP::Headers::ActionPack::Core::Base;
=head1 DESCRIPTION
There are no real user serviceable parts in here.
=head1 METHODS
=over 4
=item C<new>
=item C<BUILDARGS>
=item C<CREATE>
=item C<BUILD>
=item C<as_string>
=back
=head1 AUTHOR
Stevan Little <stevan.little@iinteractive.com>
=head1 CONTRIBUTORS
=over 4
=item *
Andrew Nelson <anelson@cpan.org>
=item *
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.675 second using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )