且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Perl:命名参数验证***实践

更新时间:2023-02-26 18:39:18

您可以使用 Params :: Check

You could use Params::Validate. Another option is Params::Check

如果参数是固定的,那么***在开发过程中对其进行验证,并可以选择在启用时关闭验证.

If params are fixed, then its best to validate them during development, with the option to turn off validation when live.