|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone,
I am having some troubles with creating a dynamic table in Perl. I would like to take some information from an array and push it into rows in a table. I have done it before, but for some reason I can't figure it out this time. As soon as I put in the push statement my script fails to generate any HTML output, even stuff that was working orginally. Any suggestions would be appreciated. |
|
#2
|
|||
|
|||
|
Forget the snip
foreach $ManagedNode(`wlookup -ar ManagedNode`) {
my ($MNName,$MNOID)= split(/\s+/,$ManagedNode); push (@MNArray,$MNName); for ($x=0; $x <= $#MNArray; $x++) { push (@MNTable,td({},['',$MNArray[$x],$MNArray[$x]])); ##print "$MNArray[$x]\n"; } } |
|
#3
|
|||
|
|||
|
Solution
Oh boy,
I found it....instead of using use CGI qw(:all);, I only used use CGI; Bret |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Dynamic Tables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|