Skip Menu |
 

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

Report information
The Basics
Id: 125142
Status: resolved
Priority: 0/
Queue: Net-SIP

People
Owner: Nobody in particular
Requestors: cpan [...] spidererrol.co.uk
Cc:
AdminCc:

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



Subject: Documentation for Net::SIP::Util::sip_uri2parts() is wrong.
Download (untitled) / with headers
text/plain 392b
sip_uri2parts is documented as returning (DOMAIN, USER, PROTO, DATA, PARAM) in array context but actually returns (DOMAIN, USER, PROTO, PARAM, DATA) - ie PARAM and DATA are swapped. In my opinion the documentation is wrong and the code is returning them in a more sensible order. Also updating the documentation will avoid breaking any code which is already relying on the current behaviour.
Download (untitled) / with headers
text/plain 301b
Show quoted text
> In my opinion the documentation is wrong and the code is returning > them in a more sensible order. Also updating the documentation will > avoid breaking any code which is already relying on the current > behaviour.
Thanks for reporting the issue. I've fixed the documentation in commit 234767c.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.