Skip Menu |

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

Report information
The Basics
Id: 45822
Status: open
Priority: 0/
Queue: Net-SMPP

People
Owner: Nobody in particular
Requestors: cpan [...] djsf.com
Cc:
AdminCc:

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



Subject: ${errcode}_msg is incorrect
Line 151: eval { *{status_code->{$k}->{code}.'_msg'} = sub { return $k; } }; This should be: eval { *{status_code->{$k}->{code}.'_msg'} = sub { return status_code->{$k}->{msg}; } };
CC: undisclosed-recipients:; [...] symlabs.com
Subject: Re: [rt.cpan.org #45822] ${errcode}_msg is incorrect
Date: Thu, 7 May 2009 18:32:11 +0200 (CEST)
To: bug-Net-SMPP [...] rt.cpan.org
From: sampo [...] symlabs.com
andrew deryabin via RT wrote: Show quoted text
> Thu May 07 12:14:14 2009: Request 45822 was acted upon. > Transaction: Ticket created by djsf > Queue: Net-SMPP > Subject: ${errcode}_msg is incorrect > Broken in: 1.12 > Severity: Normal > Owner: Nobody > Requestors: cpan@djsf.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45822 > > > > Line 151: > eval { *{status_code->{$k}->{code}.'_msg'} = sub { return $k; } }; > > This should be: > eval { *{status_code->{$k}->{code}.'_msg'} = sub { return > status_code->{$k}->{msg}; } };
Thanks. --Sampo
From: ledda [...] ukr.net
On Thu May 07 12:46:00 2009, sampo@symlabs.com wrote: Show quoted text
> andrew deryabin via RT wrote:
> > Thu May 07 12:14:14 2009: Request 45822 was acted upon. > > Transaction: Ticket created by djsf > > Queue: Net-SMPP > > Subject: ${errcode}_msg is incorrect > > Broken in: 1.12 > > Severity: Normal > > Owner: Nobody > > Requestors: cpan@djsf.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45822 > > > > > > > Line 151: > > eval { *{status_code->{$k}->{code}.'_msg'} = sub { return
$k; } }; Show quoted text
> > > > This should be: > > eval { *{status_code->{$k}->{code}.'_msg'} = sub { return > > status_code->{$k}->{msg}; } };
> > Thanks. > > --Sampo > >
Patch was applied incorrectly and now v1.13 doesn't compile. From original post the correct line is: eval { *{status_code->{$k}->{code}.'_msg'} = sub { return status_code->{$k}->{msg}; } };