zoffixznet / HTML-ExtractText

HTML::ExtractText perl module for extracting specific bits of text from HTML using CSS selectors
0 stars 0 forks source link

Make more meaninful errors #12

Open zoffixznet opened 9 years ago

zoffixznet commented 9 years ago

If we forget to pass HTML to ->extract, it errors out, and if we don't check for errors, trying to use the object as a hashref gives Overloaded dereference did not return a reference at... We need to catch such a use a croak or something.