Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> perl >> libdata-validate-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libdata-validate-perl  ]

パッケージ: libdata-validate-perl (0.09-1)

module providing common data validation routines for strings/numbers

Data::Validate collects common validation routines to make input validation, and untainting easier and more readable. Most of the functions are not much shorter than their direct perl equivalent (and are much longer in some cases), but their names make it clear what you're trying to test for (e.g. is_integer(), is_hex(), is_alphanumeric()...).

Almost all functions return an untainted value if the test passes, and undef if it fails. This means that you should always check for a defined status explicitly. Don't assume the return will be true. (e.g. is_integer(0))

その他の libdata-validate-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libdata-validate-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 10.5 kB56 kB [ファイル一覧]