Skip Menu |

This queue is for tickets about the HTML-ExtractMain CPAN distribution.

Report information
The Basics
Id: 82670
Status: new
Priority: 0/
Queue: HTML-ExtractMain

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: docs of empty return
Date: Sun, 13 Jan 2013 09:58:01 +1100
To: bug-HTML-ExtractMain [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
HTML::ExtractMain 0.62 had pod saying If a most relevant block of content is not found, "extract_main_html" returns undef. If I'm not mistaken it's actually an empty list rather than undef -- which makes a difference if using extract_main_html() in a list context. Empty or undef are both reasonable so I would think change the docs to match the code.