Changes for version 0.023 - 2024-01-16

  • Add filters: Str::{remove_non_latin_alphanum,underscore_non_latin_alphanum,und erscore_non_latin_alphanums}.
  • [doc] Clarify that generated filtering code is not only Perl.

Modules

Filtering for Data::Sah
Convert string to lowercase
Convert string to lowercase
Convert first character of string to lowercase
Convert string to lowercase
Trim whitespace at the beginning of string
Trim whitespace at the end of string
Trim whitespace at the beginning and end of string
Convert string to uppercase
Convert first character of string to uppercase
Convert string to uppercase
Convert string to uppercase
Check that an array has unique elements, using List::Util's uniq()
Check that an array has unique elements, using List::Util's uniqnum()
Check that an array has unique elements, using List::Util's uniqstr() (synonym for uniq())
Remove undef elements from an array
Make an array uniq using List::Util's uniq()
Make an array uniq using List::Util's uniqnum()
Make an array uniq using List::Util's uniqstr() (synonym for uniq)
Round number to the nearest integer (or "nearest" argument) that is greater than the number
Check that a floating point number has non-zero fraction
Check that a floating point number is integer
Round number to the nearest integer (or "nearest" argument) that is less than the number
Round number to the nearest integer (or "nearest" argument)
Check that string is in lowercase
Check that string does not contain more than one line
Check that string is in uppercase
Convert string to lowercase (synonym for lc)
Make sure string (except an empty one) ends with newline, add newline if the string does not
Convert string to lowercase
Convert first character of string to lowercase
Convert string to lowercase (synonym for lc)
Trim whitespaces at the beginning of string
Replace newlines with spaces
Remove characters that are not [A-Za-z0-9]
Remove non-digit characters
Remove whitespaces from string
Replace (map) some values with (to) other values
Trim whitespaces at the end of string
Trim whitespaces at the beginning and end of string
Try to center string in a width, fail if string is too long
Convert string to uppercase
Convert first character of string to uppercase
Replace each character that is not [A-Za-z0-9] with an underscore (_)
Replace each group of characters that are not [A-Za-z0-9] with a single underscore (_)
Convert string to uppercase (synonym for uc)
Convert string to uppercase (synonym for uc)
Common stuffs for Data::Sah::Filter and Data::Sah::FilterJS
Generate filter code