Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

andye's scratchpad

by andye (Curate)
on Jun 05, 2004 at 10:06 UTC ( [id://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
Domain Nodelet?
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: (4)
As of 2024-03-29 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found