while () { next if /^#/ || /^\s*$/; chomp; my @temp=split(/\s+/,$_); $dbparms{$temp[2]} = \@temp; } #### while () { next if /^#/ || /^\s*$/; chomp; @temp=split(/\s+/,$_); $dbparms{$temp[2]} = [@temp]; }