Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-09-18 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls