Skip Menu |

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 120310
Status: resolved
Priority: 0/
Queue: HTTP-Message

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

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

Subject: Storable is used in HTTP::Headers for cloning
Download (untitled) / with headers
text/plain 784b
Storable is used in HTTP::Headers and another internal fallback method is provided for the method 'clone' Two minor issues there: 1 - there are not a single unit test which guarantee that the second clone method (without Storable) is working in the same way 2 - the method setting and check should probably happen at BEGIN time rather than run time. 3 - maybe we only need one method there, the faster, and we can probably assume that Storable is available on all System and if not simply list it as a dependencies for old perl versions ```` if (eval { require Storable; 1 }) { *clone = \&Storable::dclone; } else { *clone = sub { my $self = shift; my $clone = HTTP::Headers->new; $self->scan(sub { $clone->push_header(@_);} ); $clone; }; } ````

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

Please report any issues with to