Advertisement
Guest User

Untitled

a guest
May 31st, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1.  
  2.  
  3. my $warranty_dates = $self->every_param('warranty_date');
  4. my $state_ids = $self->every_param('state_id');
  5.  
  6. results in:
  7.  
  8. $VAR1 = undef;
  9. and
  10.  
  11. $VAR1 = '12/12/2017';
  12. $VAR2 = '12/12/2017';
  13. $VAR3 = '12/12/2017';
  14. $VAR4 = '12/12/2017';
  15. $VAR5 = '12/12/2017';
  16.  
  17. respectively when called by
  18. # die Dumper(@{$state_ids});
  19.  
  20. die Dumper(@{$warranty_dates});
  21.  
  22. when the application dies
  23.  
  24. despite being shown as having the following parameters:
  25.  
  26. "state_id" => [
  27. 1,
  28. 1,
  29. 1,
  30. 1,
  31. 1
  32. ],
  33. "warranty_date" => [
  34. "12/12/2017",
  35. "12/12/2017",
  36. "12/12/2017",
  37. "12/12/2017",
  38. "12/12/2017"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement