| Çؽà :: util :: fieldhash. Çؽà :: UTIL :: FielShash´Â ³»ºÎ Ãâ·Â Ŭ·¡½º¸¦ Áö¿øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Çؽà :: util :: fieldhash. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~anno/Alter-0.07/lib/Alter.pm
Çؽà :: util :: fieldhash. ű×
Çؽà :: util :: fieldhash. ¼³¸í
Çؽà :: Util :: FieldHash´Â ³»ºÎ ¾Æ¿ô Ŭ·¡½º¸¦ Áö¿øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Çؽà :: util :: fieldhash´Â ³»ºÎ Ãâ·Â Ŭ·¡½º¸¦ Áö¿øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Synopsis ### FieldHashes »ý¼º Çؽà :: Util QW (FieldHash Fieldhashes)¸¦ »ç¿ëÇϽʽÿÀ. # ´ÜÀÏ ÇÊµå ¸¸µé±â Çؽà Çʵå My % foo; # ÇÑ ¹ø¿¡ 3À» ¸¸µì´Ï´Ù ... Fieldhashes my (% foo, r, z); # ... ¶Ç´Â ¸ðµç ¼ýÀÚ fieldhashes @hashrefs; ### iDhash ¸¸µé±â ¹× °¡ºñÁö ¼öÁýÀ» À§ÇØ µî·Ï Çؽà :: util :: fieldhash qw (IdHash ·¹Áö½ºÅÍ); Idhash ³» % À̸§; MY $ OBJECT = DO {MY $ O}; # $ °´Ã¼ ·¹Áö½ºÅÍ ($ °´Ã¼, % À̸§)°¡ÀÖ´Â °¡ºñÁö Ä÷º¼Ç¿¡ ´ëÇÑ IDHASH µî·Ï; # $ °´Ã¼°¡ Scope $ name {$ object} = 'John Doe'¿¡¼ ¹þ¾î³¯ ¶§ ´ÙÀ½ Ç׸ñÀÌ »èÁ¦µË´Ï´Ù. ### °¡ºñÁö ¼öÁýÀ» À§ÇØ ÀÏ¹Ý Çؽø¦ µî·ÏÇϽʽÿÀ Çؽà :: util :: fieldhash qw (ID ·¹Áö½ºÅÍ); ³» À̸§; MY $ OBJECT = DO {MY $ O}; # $ °´Ã¼ÀÇ ID ·¹Áö½ºÅÍ $ °´Ã¼, % À̸§ÀÇ °¡ºñÁö Ä÷º¼Ç¿¡ ´ëÇÑ Çؽà % À̸§À» µî·ÏÇÕ´Ï´Ù. # $ °´Ã¼°¡ ¹üÀ§¸¦ ¹þ¾î ³µÀ» ¶§ ´ÙÀ½ Ç׸ñÀÌ »èÁ¦µË´Ï´Ù. {id $ object} = 'John doe'; ¿ä±¸ »çÇ× : ¡¤ Perl.
Çؽà :: util :: fieldhash. °ü·Ã ¼ÒÇÁÆ®¿þ¾î