Catmandu::Fix::html_text - keep only the textual data in the HTML
# keep only the text html_text() # returns: # html: "<html>...</html>" # keep only the text but return an array_ref html_text(split:1) # returns: # html: # - <html> # - ... # - </html>
Catmandu::Fix
To install Catmandu::HTML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::HTML
CPAN shell
perl -MCPAN -e shell install Catmandu::HTML
For more information on module installation, please visit the detailed CPAN module installation guide.