WordPress::Base::Text - text helpers
use WordPress::Base::Text; my $content = slurp('./file'); my $clean_content = cleanup_html($content); my $quick_clean = cleanup_html( slurp('./file');
These are not oo
argument is abs path, returns content if file not there, returns undef
argument is html text, returns cleaned up, takes out font tags, etc
To install WordPress::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WordPress::API
CPAN shell
perl -MCPAN -e shell install WordPress::API
For more information on module installation, please visit the detailed CPAN module installation guide.