Egg::Plugin::Filter

Egg::Plugin::Filter is a filter of request query for Egg plugin.
Download

Egg::Plugin::Filter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Masatoshi Mizuno
  • Publisher web site:
  • http://search.cpan.org/~lushe/

Egg::Plugin::Filter Tags


Egg::Plugin::Filter Description

Egg::Plugin::Filter is a filter of request query for Egg plugin. SYNOPSIS use Egg qw/ Filter /; # The received form data is filtered. $e->filter( myname => , address=> , tel => , ); # Cookie is filtered. my $cookie= $e->filter( { nick_name=> , email => , }, $e->request->cookies );It is filter plugin to pass it as for data.FILTERStrimThe space character in the back and forth is deleted.holdThe space character is deleted.stripThe continuousness of the space character is substituted for one half angle space.hold_tabThe tab is deleted.spaceConsecutive half angle space is settled in one.crlf:A consecutive changing line is settled in piece. * The tab is deleted.Default when is omitted is 1.strip_tabContinuousness in the tab is substituted for one half angle space.hold_crlfIt is 'hold' for changing line and the tab.strip_crlfIt is 'strip' for changing line and the tab.hold_htmlThe character string seen the HTML tag is deleted.strip_htmlThe character string seen the HTML tag is substituted for one half angle space.escape_htmlHTML::Entities::encode_entities is done.digitIt deletes it excluding the normal-width figure.alphanumIt deletes it excluding the alphanumeric character.integerIt deletes it excluding the integer.pos_integerIt deletes it excluding the positive integer.neg_integerIt deletes it excluding the negative integer.decimalIt deletes it excluding the integer including small number of people.pos_decimalIt deletes it excluding a positive integer including small number of people.neg_decimalIt deletes it excluding a negative integer including small number of people.dollarsIt deletes it excluding the figure that can be used with dollar currency.lclc is done.ucuc is done.ucfirstucfirst is done.phoneThe character that cannot be used by the telephone number is deleted.sql_wildcard'*' is substituted for '%'.quotemetaquotemeta is done.emailThe domain name part in the mail address is converted into the small letter. MyName@DOMAIN.COM => MyName@domain.comurlThe domain name part in the URL is converted into the small letter. http://MYDOMAIN.COM/Hoge/Boo.html => http://mydomain.com/Hoge/Boo.html Requirements: · Perl


Egg::Plugin::Filter Related Software