-
-
17 Oct 2004 06:17:02 UTC
- Distribution: Business-AU-TFN
- Module version: 0.1
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (83 / 576 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (1.63KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Business::AU::TFN - Validate TFN - Australian Tax File Name
SYNOPSIS
use Business::AU::TFN; print Business::AU::TFN::validate("123 456 782");
DESCRIPTION
NOTES
Details come from http://bioinf.wehi.edu.au/folders/fred/tfn.html
METHODS
Currently these are package methods which must be called explicitly. Although I am considering making this better.
METHODS
validate($tfn)
Validate a tax file number. Return value is one of
'valid' - yep, completely valid
'invalid length' - Must be 9 characteres (spaces accepted)
'invalid sum' - does not match
pretty($tfn)
This prints out a valid pretty print of an TFN The standards says that it must be showed in groups of three (nnn nnn nnn).
AUTHOR
Scott Penrose <scottp@dd.com.au>
SEE ALSO
Module Install Instructions
To install Business::AU::TFN, copy and paste the appropriate command in to your terminal.
cpanm Business::AU::TFN
perl -MCPAN -e shell install Business::AU::TFN
For more information on module installation, please visit the detailed CPAN module installation guide.