Changes for version 0.018 - 2023-04-25
- Add perl filters: Str::ensure_trailing_newline, check_{lowercase,uppercase,oneline}.
- [doc] [perl filters ltrim,trim,rtrim] Show that tabs and newlines are also trimmed.
- [pod] In main modules' POD, list all the filter modules included in the distribution.
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)
Perform some checks
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 comment
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
Convert string to uppercase (synonym for uc)
Convert string to uppercase (synonym for uc)
Wrap text
Common stuffs for Data::Sah::Filter and Data::Sah::FilterJS
Generate filter code