| CGI :: Wiki :: Plugin :: Locator :: UK. ¿µ±¹ À§Ä¡ µ¥ÀÌÅ͸¦ °ü¸®ÇÏ´Â CGI :: Wiki Ç÷¯±×ÀÎ |
Áö±Ý ´Ù¿î·Îµå |
CGI :: Wiki :: Plugin :: Locator :: UK. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~kake/
CGI :: Wiki :: Plugin :: Locator :: UK. ű×
CGI :: Wiki :: Plugin :: Locator :: UK. ¼³¸í
¿µ±¹ À§Ä¡ µ¥ÀÌÅ͸¦ °ü¸®ÇÏ´Â CGI :: Wiki Ç÷¯±×ÀÎ CGI :: Wiki :: Plugin :: Locator :: Ukcgi´Â ³ëµå¸¦ ÀÛ¼ºÇÒ ¶§ CGI :: Wiki Wiki¿¡ Á¦°øµÈ ¿µ±¹ ±¹°¡ ±×¸®µå À§Ä¡ ¸ÞŸ µ¥ÀÌÅ͸¦ »ç¿ëÇÏ¿© ¾×¼¼½º ¹× °è»êÀ» Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. (¿µ±¹ÀÇ ±¹°¡ ±×¸®µå ÇùÁ¶¿Í À§µµ / °æµµ »çÀ̸¦ º¯È¯Çϱâ À§ÇØ Áö¸® :: Àü´çµµ¸¦ Á¶»ç ÇÒ ¼ö ÀÖ½À´Ï´Ù.) ½Ã³ñ½Ã½º CGI :: Wiki; CGI :: Wiki :: Plugin :: Locator :: UK; ³» $ wiki = cgi :: wiki-> new (...); ³» $ locator = cgi :: wiki :: plugin :: locator :: UK-> »õ·Î¿î; $ wiki-> register_plugin (plugin => $ locator); $ wiki-> write_node ( "¿¹·ç»ì·½ ¼±¼úÁý", "ÁÁÀº pub", $ üũ¼¶, {os_x => 531674, os_y => 181950}); # Á¶Á¤ÀÚ¸¦ °Ë»öÇÕ´Ï´Ù. My ($ x, $ y) = $ locator-> ÁÂÇ¥ (³ëµå => "¿¹·ç»ì·½ ¼±¼úÁý"); # ų·Î¹ÌÅÍ ´ÜÀ§·Î µÎ ³ëµå °£ÀÇ Á÷¼± °Å¸®¸¦ ã½À´Ï´Ù. ³» $ °Å¸® = $ locator-> °Å¸® (from_node => "¿¹·ç»ì·½ ¼±¼úÁý", to_node => "calthorpe ams"); # ÁÖ¾îÁø Àå¼ÒÀÇ 200 ¹ÌÅÍ À̳»¿¡ ¸ðµç °ÍÀ» ãÀ¸½Ê½Ã¿À. ³» @others = $ locator-> find_within_distance (node => "albion", meters => 200); ¿ä±¸ »çÇ× : ¡¤ Perl.
CGI :: Wiki :: Plugin :: Locator :: UK. °ü·Ã ¼ÒÇÁÆ®¿þ¾î