Sat Jan 12 17:58:25 2013user42 [...] zip.com.au - Ticket created
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.