
Business::Payroll::US

use Business::Payroll::US;
my $usPayroll = Business::Payroll::US->new();
if ($usPayroll->error())
{
die $usPayroll->errorMessage();
}
my $result = Business::Payroll::XML::OutData->new(periodNames => \%periodNames);
my @result = ();
eval { @result = $usPayroll->process(person => $person, date => $date, period => $period,
info => \%countryInfo);
if ($@)
{
die "$@";
}

This is the base package for the Business::Payroll::US 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. round specifies whether to round the result or not. Returns: the items array of name,value entries created.

Xperience, Inc. (mailto:admin@pcxperience.com)

perl(1), Business::Payroll(3)