Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Creating a Dynamic Table

by ikkon (Monk)
on Jan 10, 2007 at 18:03 UTC ( #593965=note: print w/ replies, xml ) Need Help??

in reply to Creating a Dynamic Table

thanks for your help, I fix it by using the following code

my @tableData = ( ["HP Hardware", "Total Cost"], ); for my $i ( 1 .. 15 ) { my $hardware_name = param('HW_' . $i . '_0'); my $hardware_val = param('HW_' . $i . '_1'); if ( $hardware_name and $hardware_val =~ /\w/ ) { push @tableData, [ $hardware_name, $hardware_val ]; push @tableData, [ "Total hardware cost:", $TotalHWValue]; } # if hardware_name } # foreach i my $some_data = \@tableData;
thanks again for your help

Comment on Re: Creating a Dynamic Table
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-28 08:13 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (179 votes), past polls