½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 31 | Á¶È¸¼ö 512 | µî·ÏÀÏ 2001-05-03 17:43:56

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

hero@happycgi.com

Á¦¸ñ

[´äº¯] [Áú¹®]ÀÌ°Å Á» Ç®¾îÁÖ¼¼¿ä.
³»¿ë
>»çÀ̹ö °­ÀÇ·Î ÀÎÅÍ³Ý °ú¸ñÀ» µè°íÀִµ¥ ½ÃÇè¹®Á¦°¡ perl °ü·ÃÇؼ­ ³ª¿Í¼­ Á» °ï¶õÇϱº¿ä.
>c´Â ¾îÂî Çغ¸°Ú´Âµ¥ perl ÂÊÀº µµÅë °¨À» ¸øÀâ°Ú´õ¶ó±¸¿ä.
>¾Æ½Ã´Â ºÐÀÇ µµ¿òÀ» ¿äûÇÕ´Ï´Ù.
>
>¾Æ·¡´Â ¹®Á¦ÀÔ´Ï´Ù. ´äÀ» ¾Æ½Ã´Â ºÐÀº Á» ¾Ë·ÁÁÖ¼¼¿ä.
>Á¦ÃâÀÌ ¿À´Ã Àú³á±îÁö¶ó¼­ Á» ½Ã°£ÀÌ ¾ø³×¿ä.
>±ÍÂú°Ô Çصå·Á¼­ Á˼ÛÇϱ¸¿ä ±×·³....
>
>=====================================================
>
>7. º¯¼ö vari¿¡ ´ÙÀ½°ú °°ÀÌ °ªÀ» ÀúÀåÇÏ¿´´Ù.
>%vari=("Sun","Mon",Tue","Wed","Thu","Fri");
>È­¸é¿¡ 4¹ø°¿¡ Ç¥½ÃµÈ Wed¸¦ È­¸é¿¡ Ãâ·ÂÇÏ·Á°í ÇÑ´Ù. print¸¦ ÀÌ¿ëÇؼ­ Ãâ·ÂÇÏ¿© º¸¾Æ¶ó.
>
>8. ´ÙÀ½Àº ¹è¿­ÀÇ ¿ø¼Ò Áß ÃÖ´ë °ªÀ» ±¸ÇÏ´Â ÇÁ·Î±×·¥À» perl·Î ÀÛ¼ºÇÑ °ÍÀÌ´Ù. °á°ú °ªÀÎ 87À» Ãâ·ÂÇϱâ À§ÇØ ¨çÀ» ä¿ö¶ó
>
>#!/usr/bin/perl
>
>@tt = ( 10, 40, 33, 51, 87, 9, 15, 22, 25 );
>$t = &max( @tt );
>print $t;
>
>sub max {
>
>
>          ¨ç 
>  
>}            

¾È³çÇϼ¼¿ä. ÇØÇÇCGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù.
¼÷Á¦±º¿ä. -_-;;;
±×·¡¼­ õõÈ÷ ´äº¯ µå¸°°Ç ¾Æ´Õ´Ï´Ù. ^^

7¹ø ´ä

#!/usr/bin/perl
print "content-type:text/html\n\n";
%vari=("Sun","Mon","Tue","Wed","Thu","Fri");
print "$vari{Tue}";

8¹ø ´ä
#!/usr/bin/perl
print "content-type:text/html\n\n";
@tt = ( 10, 40, 33, 51, 87, 9, 15, 22, 25 );
$t = &max( @tt );
print $t;

sub max {
@test = @_;
@test = reverse sort {$a <=> $b} @test;
$t = $test[0];
}


¹°¾îº¸½Ã±â Àü¿¡ Ã¥À» ã¾Æº¸½Ã¸é ¸ðµÎ ³ª¿ÍÀÖ½À´Ï´Ù.
7¹øÀº Çؽ¬¿¡ °üÇؼ­ º¸½Ã±¸¿ä. (key ¿Í value) 8¹øÀº ¹®ÀÚ,¼ýÀÚ ¼ÒÆÿ¡
°üÇÑ ¹®Á¦ÀÎ°Í °°³×¿ä.
µµ¿òÀÌ µÇ¾úÀ¸¸é ÁÁ°Ú³×¿ä.

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û perl¿¡¼­ÀÇ ÆäÀÌÁö À̵¿... 2001-05-03 16:31:00
´ÙÀ½°Ô½Ã±Û *Å©·¹ÀÌÁöº¸µå* ½áº¸½ÅºÐ! please... 2001-05-03 20:43:05