| Ŭ·¡½º : pobject. Ŭ·¡½º :: Pobject´Â Áö¼ÓÀûÀÎ °´Ã¼¸¦ ÇÁ·Î±×·¡¹ÖÇϱâÀ§ÇÑ °£´ÜÇÑ ÇÁ·¹ÀÓ ¿öÅ©ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Ŭ·¡½º : pobject. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Sherzod B. Ruzmetov
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~sherzodr/Class-PObject-2.17/PObject.pm
Ŭ·¡½º : pobject. ű×
Ŭ·¡½º : pobject. ¼³¸í
Ŭ·¡½º :: Pobject´Â Áö¼ÓÀûÀÎ °´Ã¼¸¦ ÇÁ·Î±×·¡¹ÖÇϱâÀ§ÇÑ °£´ÜÇÑ ÇÁ·¹ÀÓ ¿öÅ©ÀÔ´Ï´Ù. Ŭ·¡½º :: Pobject´Â Persistent objects.synopsisafter·Îµå Ŭ·¡½º :: Pobject¸¦ »ç¿ëÇÏ¿© Ŭ·¡½º¸¦ »ç¿ëÇÏ¿© Ŭ·¡½º¸¦ ¼±¾ð ÇÒ ¼ö ÀÖ½À´Ï´Ù. pobject person => {columns => , DataSource => './data'}; ¿ì¸®´Â ¶ÇÇÑ ÀÚ½ÅÀÇ .pm ÆÄÀÏ¿¡¼ Ŭ·¡½º¸¦ ¼±¾ð ÇÒ ¼ö ÀÖ½À´Ï´Ù : ÆÐÅ°Áö »ç¶÷; Ŭ·¡½º :: pobject »ç¿ë; pobject {columns => cpan.org'); $ new_id = $ person-> save () ¿ì¸®´Â ³ªÁß¿¡ ÀúÀåµÈ »ç¶÷¿¡°Ô ¾×¼¼½º ÇÒ ¼ö ÀÖ°í, ÇÊ¿äÇÑ º¯°æÀ»ÇÏ°í, $ person = person-> load ($ new_id); $ Person-> À̸§ ( 'Sherzod Ruzmetov (±«Â¥)'); $ Person-> Save () ¿©·¯ °³Ã¼µµ·Îµå ÇÒ ¼ö ÀÖ½À´Ï´Ù. @People = Person-> load (); $ Person (@people) {PrintF ( " % s <% s> n", $ person-> ID, $ Perser-> À̸§, $ Person-> À̸ÞÀÏ)} ¶Ç´Â ¸ðµç °³Ã¼¸¦·Îµå ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀϺΠ±âÁØÀ» ±â¹ÝÀ¸·Î ÇÏÇâ ÁöÁ¤ ¼ø¼·Î ¿ À̸§À¸·Î ¸ñ·ÏÀ» Á¤·ÄÇÏ°í °á°ú¸¦ ù ¹ø° 3 °´Ã¼ ¸¸ Á¦ÇÑÇÕ´Ï´Ù. @people = person-> load ({name => "sherzod"}, {sort => "name" , ¹æÇâ => "desc", limit => 3}); @people = person-> load (Undef, {Offset => 10, limit => 10})ÀÇ Æ¯Á¤ ¿äÁ¡À» ãÀ» ¼ö ÀÖ½À´Ï´Ù ...¿¡ ¿ä±¸ »çÇ× : ¡¤ Perl.
Ŭ·¡½º : pobject. °ü·Ã ¼ÒÇÁÆ®¿þ¾î