Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: starting RTF Writer

by ikkon (Monk)
on Mar 21, 2007 at 19:20 UTC ( #605912=note: print w/ replies, xml ) Need Help??

in reply to starting RTF Writer

not sure if its too late but I build a function to help with the table creation, probably could be better but works for now

my $tableVal2 = [2500,1900,1200, 1400]; my @tableData2 = ( ['this', "bnlut", 'jhsdfhjsa', 'thing'], ["that", "this", 'kjhsadfh', 'ben'], ["me", "none", 'slhdfjhsf', 'prat'], ); &table($tableVal2, @tableData2); ## calls the table function which + uses the array for values sub table(){ my($localVal, @localData) = @_; my $decl = RTF::Writer::TableRowDecl->new('widths' => $localVa +l ); $fh->row($decl, @$_) for @localData; }

Comment on Re: starting RTF Writer
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://605912]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-08-31 02:48 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (351 votes), past polls