Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: starting RTF Writer

by ikkon (Monk)
on Mar 21, 2007 at 19:20 UTC ( [id://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; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found