Skip Menu |

This queue is for tickets about the AMF-Connection CPAN distribution.

Report information
The Basics
Id: 71774
Status: new
Priority: 0/
Queue: AMF-Connection

Owner: Nobody in particular
Requestors: adam_lounds [...]

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

Download (untitled) / with headers
text/plain 638b
"Use of uninitialized value in pattern match" warning when deserialising an AMF message with headers, as deserialise creates a new MessageHeader object with no args but new() does a pattern match on $required. example fix: package AMF::Connection::MessageHeader; use strict; use Carp; sub new { my $proto = shift; my $class = ref($proto) || $proto; my $self = {}; if ( @_ ) { my ($name, $value, $required) = @_; $self->{'name'} = $name; $self->{'value'} = $value; $self->{'required'} = ($required=~m/(1|yes)/) ? 1 : 0; } return bless($self, $class); };

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to