Help for this page

Select Code to Download


  1. or download this
    while (my $row = $sth->fetch()){
        push @{ $data[0] }, $row[0];
    ...
    }
    
    print Dumper(@data);
    
  2. or download this
    $VAR1 = [
      undef,
    ...
      undef,
      undef
    ];
    
  3. or download this
    while (my @row = $sth->fetchrow_array()){
        push @{$data[0]}, $row[0];
        push @{$data[1]}, $row[1];
    }
    print Dumper(@data);
    
  4. or download this
    $VAR1 = [
      'Siemens',
    ...
      '11000',
      '8000'
    ];