SAS::TRX - [Abstract] class, provides SAS transport (XPORT) format decoding. Calls [overloaded] methods for subsequent output formatting.
use base SAS::TRX; Provides SAS TRX-related functionality for a child.
my $trx = new SAS::TRX; $trx->load('filename'); # load and parse 'filename'. During the parse will call the following [child] methods, if available: data_header - after all NAMESTR blocks for a TRX library member have been parsed, a list of columns is available data_row - for each observation data_footer - after OBS block has been parsed data_description - at the end of TRX parsing
SAS transport format (XPORT) access
The following deviations from standard are allowed: 1. Numbers can be any length >1 bytes, exponent is always 7 bit 2. "Missing values" may have any non-zero exponent
Removes leading and trailing whitespaces while character values transformation.
Nothing is exported.
SAS::TRX::MySQL for example of usage
TS-140 (http://support.sas.com/techsup/technote/ts140.html) for format description
Alexander Kuznetsov, <acca (at) cpan.org>
Copyright (C) 2009 by Alexander Kuznetsov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 293:
'=item' outside of any '=over'
- Around line 308:
You forgot a '=back' before '=head1'