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

andye's scratchpad

by andye (Curate)
on Jun 05, 2004 at 10:06 UTC ( #361443=scratchpad: print w/ replies, xml ) Need Help??

sub table(){ my $decl = RTF::Writer::TableRowDecl->new('widths' => [1500,1900, +1900]); foreach my $outer (@tableData) { foreach my $inner (@{$tableData[$outer]}) { $fh->row($decl, $inner) } } } OR sub table(){ my $decl = RTF::Writer::TableRowDecl->new('widths' => [1500,1900, +1900]); foreach my $i (0 .. $#tableData) { foreach my $j (0 .. $#{$tableData[$i]}) { $fh->row($decl, $tableData[$i]->[$j]) } } } OR as an arrayref my $tableData = [ # note square bracket ['this', "that", 'jhsdfhjsa'], ["that", "this", 'kjhsadfh'], ["me", "none", 'slhdfjhsf'], ]; # note square bracket then later: $fh->row($decl, $tableData->[$i]->[$j])
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-07-29 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (212 votes), past polls