| params :: Check :: ´õ »¡¸® ÀÏ¹Ý ÀÔ·Â ±¸¹® ºÐ¼® / °Ë»ç ¸ÞÄ¿´ÏÁò. paramsÀÇ ÀçÁ¤»ó :: ¼öÇ¥ |
Áö±Ý ´Ù¿î·Îµå |
params :: Check :: ´õ »¡¸® ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Damien Krotkine
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~dams/
params :: Check :: ´õ »¡¸® ű×
params :: Check :: ´õ »¡¸® ¼³¸í
ÀÏ¹Ý ÀÔ·Â ±¸¹® ºÐ¼® / °Ë»ç ¸ÞÄ¿´ÏÁò. paramsÀÇ ÀçÁ¤»ó :: ¼öÇ¥ Params :: Check :: Faster´Â ÀϹÝÀûÀÎ ÀÔ·Â ±¸¹® ºÐ¼® / °Ë»ç ¸ÞÄ¿´ÏÁò ÀÎ Perl ¸ðµâÀÔ´Ï´Ù.ÀÌ ¸ðµâÀº Params :: CheckÀÇ ´õ ºü¸¥ ÀçÁ¤»óÀÔ´Ï´Ù. 100 % ȣȯµÇ¾î¾ßÇÕ´Ï´Ù. Params :: Author (Kane)°¡ °ËÅä ÇÑ ÈÄ ÀϺΠ½ÃÁ¡¿¡¼ º´ÇÕ µÉ ¼ö ÀÖ½À´Ï´Ù. À¯ÀÏÇÑ ¿ä±¸ »çÇ×Àº Àμö°¡ named.params :: Check :: ´õ »¡¸® ´ÙÀ½ »çÇ×À» ¼öÇà ÇÒ ¼ö ÀÖ½À´Ï´Ù. * ¸ðµç Å°¸¦ ¼Ò¹®ÀÚ·Î º¯È¯ * ¸ðµç Çʼö Àμö°¡ Á¦°øµÇ¾ú´ÂÁö È®ÀÎÇÕ´Ï´Ù. * ¸ðµç Çʼö Àμö°¡ Á¦°øµÇ¾ú´ÂÁö È®ÀÎÇÕ´Ï´Ù. * Á¦°øµÇÁö ¾ÊÀº Àμö¸¦ ¼³Á¤ÇϽʽÿÀ. »ç¿ëÀÚ¿¡°Ô Áö¿øµÇÁö ¾Ê°í °æ°íÇÏÁö ¾Ê´Â ±âº» * ÀâÃÊ ¹ÛÀ¸·Î ¹®ÀÚ¿, regexes, ¸ñ·Ï ¶Ç´Â ¼ºê ·çƾÀ» ±â¹ÝÀ¸·Î »ç¿ëÀÚ°¡ Á¦°ø ÇÑ Àμö¸¦ À¯È¿¼ºÀ» °ËÁõÇÕ´Ï´Ù. Çʼö ¹øÈ£°¡ Params :: Check :: Faster QW¸¦ »ç¿ëÇÏ´Â °æ¿ì. ; SUB FILL_PERSONAL_INFO {MY % hash = @_; ³» $ x; MY $ TMPL = {firstname => {Çʼö => 1, Á¤ÀÇ => 1}, lastname => {Çʼö => 1, store => \ $ x}, gender => {Çʼö => 1, Çã¿ë => QR / M / I, QR / F / I],}, °áÈ¥ => {Çã¿ë => }, ¿¬·É => {default => 21, Çã¿ë => qr / ^ \ d + $ /,} ÀüÈ´Â =>, ID_LIST => {±âº» => [], strict_type => 1}, °í¿ëÁÖ => {{=> ¼ö} ±âº»°ª => 'nsa', no_override => 1},}; ### üũ () ³» $ÀÇ parsed_args = °Ë»ç ###ÀÇ ¼º°ø¿¡ ±¸¹® ºÐ¼® µÈ Àμö ($ tmpl, \ % ÇؽÃ, $ VERBOSE) ¶Ç´Â ´ÙÀÌ QW ÀÇ hashrefÀ» ¹Ýȯ ... ¿©±â ´Ù¸¥ ÄÚµå ...} My $ OK = Çã¿ë ($ »ö»ó, ); MY $ ERROR = PARAMS :: CHECK :: FASTER :: LAST_ERROR (); ¿ä±¸ »çÇ× : ¡¤ Perl.
params :: Check :: ´õ »¡¸® °ü·Ã ¼ÒÇÁÆ®¿þ¾î