Business::Payroll::US::MO
use Business::Payroll::US::MO; my $moPayroll = Business::Payroll::US::MO->new(); if ($moPayroll->error()) { die $moPayroll->errorMessage(); } my $result = Business::Payroll::XML::OutData->new(periodNames => \%periodNames); my @result = (); eval { @result = $moPayroll->process(person => $person, date => $date, period => $period, info => \%countryInfo, federal => $federal, fYTD => $fYTD); if ($@) { die "$@"; }
This is the base package for the Business::Payroll::US::MO Modules.
Creates a new instance of the object. takes:
Returns 0 or 1 to indicate if the object is valid. The error will be available via errorMessage().
info contains the information related to this country for the specified person. person represents the person object in the Data structure. date is the date specified in the XML document. period is the period specified in the XML document. federal is the calculated federal taxes. fYTD is the currently withheld federal YTD taxes. round indicates if we are to round the results. Returns: the items array of name,value entries created.
All data fields are accessible by specifying the object and pointing to the data member to be modified on the left-hand side of the assignment. Ex. $obj->variable($newValue); or $value = $obj->variable;
Xperience, Inc. (mailto:admin@pcxperience.com)
perl(1), Business::Payroll(3), Business::Payroll::US(3)
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
=back without =over
To install Business::Payroll, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Payroll
CPAN shell
perl -MCPAN -e shell install Business::Payroll
For more information on module installation, please visit the detailed CPAN module installation guide.