Net::Gnats::Field
Base class for a PR's metadata
In a given session, for a given field, this should have to be run once and stashed somewhere for reuse.
Construct an empty field
my $f = Net::Gnats::Field->new;
Initialize from server
my $f = Net::Gnats::Field->new( name => 'myfield' )->initialize($session);
Manual initialization
my $f = Net::Gnats::Field ->new( name => 'myfield', description => 'description', type => type, default => default, flags => flags, validators => validators );
Creates an instance of this meta field. Represents a literal field in a PR.
To install Net::Gnats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Gnats
CPAN shell
perl -MCPAN -e shell install Net::Gnats
For more information on module installation, please visit the detailed CPAN module installation guide.