StateIncome
use Business::Payroll::US::MO::StateIncome; my $stateIncome = Business::Payroll::US::MO::StateIncome->new(); if ($stateIncome->error()) { die $stateIncome->errorMessage(); }
This package will calculate the income tax based on a gross salary amount given.
Creates a new instance of the object. takes:
( gross, # - gross pay date, #- date of payment format YYYYMMDD method, #- specifies method to use. currently only 1 allowances #, - state allowances claimed, integer period, #- annual, semiannual, quarterly, monthly, semimonthly, biweekly, weekly, daily marital, #- single, married, spouseWorks, head federal, #- amount of federal tax withheld here fYTD, #- total federal tax withheld year to date round, #yes, no - defaults to yes )
gross - floating point > 0 date - YYYYMMDD method - allowances - integer > 0 period - annual, semiannual, quarterly, monthly, semimonthly, biweekly, weekly, daily marital - single | married | spouseWorks | head periodDays - round - yes, no ) This method will check an argument sent in for validity. returns 0 for no, 1 for yes . NOTE: Only send one argument at a time. If you send all you will not know which one is invalid
This method will change the given floating point to an annual number based on the corresponding period. i.e. X, monthly will yield (X * 12)
Returns the date closest to the given date that is less than or equal to it
This method will return the earliest date in the datatables. Combined with the lastDate method, you can find the date range of the data
This method will return the earliest date in the datatables. Combined with the firstDate method, you can find the date range of the data
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)
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.