Skip Menu |

This queue is for tickets about the Net-Amazon-Glacier CPAN distribution.

Report information
The Basics
Id: 85089
Status: open
Priority: 0/
Queue: Net-Amazon-Glacier

People
Owner: Nobody in particular
Requestors: lenjaffe [...] jaffesystems.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
El Lun May 06 10:22:04 2013, lenjaffe@jaffesystems.com escribió: Show quoted text
> 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:'')); > > > > >
I have fixed this on upstream (0.14). Please wait for Tim Nordenfur to accept and upload my changes which include multipart upload or pull them from my repo https://github.com/gbarco/Net-Amazon-Glacier.git Regards, Gonzalo
Subject: Re: [rt.cpan.org #85089] malformed URL in Glacier.pm at line 158
Date: Mon, 3 Jun 2013 15:58:54 -0400
To: bug-Net-Amazon-Glacier [...] rt.cpan.org
From: Len Jaffe <lenjaffe [...] jaffesystems.com>
Thanks for the update. I've obviously patched by lib in-place, so I'll wait for it to trickle back to me via CPAN. Len. On Mon, Jun 3, 2013 at 3:44 PM, Gonzalo Barco via RT < bug-Net-Amazon-Glacier@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85089 > > > El Lun May 06 10:22:04 2013, lenjaffe@jaffesystems.com escribió:
> > 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:'')); > > > > > > > > > >
> > I have fixed this on upstream (0.14). > > Please wait for Tim Nordenfur to accept and upload my changes which > include multipart upload or pull them from my repo > https://github.com/gbarco/Net-Amazon-Glacier.git > > Regards, > Gonzalo > > > > >
-- lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe Software Enginer, Founder Volunteerable <http://www.volunteerable..com/>, Host of Columbus Code Jam <http://www.meetup.com/techlifecolumbus/> www.lenjaffe.com http://www.theycomewithcheese.com Perl Advent Planet <http://www.lenjaffe.com/PerlAdventPlanet/> - Advent Calendars: Perlish and otherwise.