Subject: | malformed URL in Glacier.pm at line 158 |
Date: | Mon, 6 May 2013 10:21:31 -0400 |
To: | bug-Net-Amazon-Glacier [...] rt.cpan.org |
From: | Len Jaffe <lenjaffe [...] jaffesystems.com> |
I'm using Perl 5.16.3. Net::Amazon::Glacier v 0.13
This line:
158 my $res = $self->_send_receive( GET =>
"/-/vaults?limit=1000" . $marker?'&'.$marker:'');
Is not passing the URL correctly to _send_receive. All I get is '&' for the
URL. Adding parentheses around the ternery operator fixes this:
158 my $res = $self->_send_receive( GET =>
"/-/vaults?limit=1000" . ($marker?'&'.$marker:''));
--
lenjaffe@jaffesystems.com 614-404-4214 www.lenjaffe.com
Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
Perl Advent Planet <http://www.lenjaffe.com/PerlAdventPlanet/> - Advent
Calendars: Perlish and otherwise.
Greenbar <http://www.greenbartraining.org/>: Grubmaster: 2012-2009, Grub
Asst: 2008, Trained: 2007.