Articulate::Validation::NoScript
An example validator to do a rudimentary check to see if the content has the text "<script" in it, to prevent users from injecting scripts directly into your application.
It doesn't thoroughly prevent Javascript injection, an onload attribute might do just as well.
Returns true if the content contains qr/<script/i; false otherwise.
It does not look at the meta to determine content type so might behave unexpectedly, e.g. if called on plain text.
To install Articulate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Articulate
CPAN shell
perl -MCPAN -e shell install Articulate
For more information on module installation, please visit the detailed CPAN module installation guide.