Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. my $bandName = '';
  2. my $rrh_sth=$dbh->prepare("SELECT serial....");
  3. $rrh_sth->execute;
  4. my $int_hash=$rrh_sth->fetchall_hashref('serial');
  5. delete $_->{serial} for values %$int_hash;
  6.  
  7. foreach my $s (keys %$int_hash) {
  8. if ($values[6] eq $s) {
  9. #$bandName = @{%$int_hash}{$s};
  10. $bandName = $int_hash ->{$s};
  11. my $ulink=getFreq($bandName,"u");
  12. my $dlink=getFreq($bandName,"d");
  13. my $status="active";
  14. print Dumper ($bandName,$values[0],$values[8],$values[7],$values[6],
  15. $values[11],$values[10],$values[3],$values[4],$values[5],$dlink,$ulink);
  16. }
  17.  
  18. $VAR1 = {
  19. 'rrhName' => 'MCD59'
  20. };
  21. $VAR2 = 'MCO57';
  22. $VAR3 = 'R-S-S:1-0-1';
  23. $VAR4 = 'scb';
  24. $VAR5 = '12NT46000050';
  25. $VAR6 = undef;
  26. $VAR7 = '109786038';
  27. $VAR8 = 'MCO: 976 2x5W AC';
  28. $VAR9 = 'enabled';
  29. $VAR10 = '1';
  30. $VAR11 = '1400';
  31. $VAR12 = '3000';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement