Unix::Conf::Bind8::DB::MX - Class representing MX records.
Refer to the SYNOPSIS section for Unix::Conf::Bind8::DB::Record.
Methods specified here are overridden. They might or not be differnt from the derived ones. For other methods refer to the METHODS section for Unix::Conf::Bind8::DB::Record.
Arguments LABEL => 'string', CLASS => 'string', # 'IN'|'HS'|'CHAOS' TTL => 'string'|number, RTYPE => 'string', # 'A'|'NS'|'MX'|'SOA'|'CNAME'|'PTR' MXPREF => mxpref # number RDATA => data PARENT => reference, # to the DB object datastructure
Class constructor. Creates a new Unix::Conf::Bind8::DB::MX object and returns it if successful, an Err object otherwise. Do not use this constructor directly. Use the Unix::Conf::Bind8::DB::new_mx () equivalent instead.
Arguments mxpref # number
Object method. Get/set the record's mxpref. If an argument is passed, the invocant's mxpref is set and true returned, on success, an Err object otherwise. If no argument is passed the invocant's mxpref is returned.
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install Unix::Conf::Bind8, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Unix::Conf::Bind8
CPAN shell
perl -MCPAN -e shell install Unix::Conf::Bind8
For more information on module installation, please visit the detailed CPAN module installation guide.