NAME
Sylk - Perl extension for generating Sylk files
SYNOPSIS
use MMM::Sylk;
my $slk = new MMM::Sylk;
# with static first line
my $slk = new MMM::Sylk( { FistRecord => [ "head1", "head2", "head3" ] } );
#push a record (1)
$slk->push_record( "1", "2", "3" ); #(data are copied)
#push a record (2)
# (record is stored as a reference to external data)
#
my @record = ( 1 ,2 ,3 4 );
$slk->push_record( \@record );
# or
$slk->push_record( [ "1", "2", "3" ] );
#clear all data
$slk->clear();
#print to file handler
$slk->print( \*STDOUT );
#get Sylk content as string
my $str = $slk->as_string();
DESCRIPTION
The comments above will suffice.
EXPORT
$EOL eol sequence (default "\n")
AUTHOR
Max Muzi <maxim@comm2000.it>
SEE ALSO
perl.