[perldocjp-cvs 165] CVS update: docs/perl/5.8.8

Back to archive index

Kentaro Shirakata argra****@users*****
2007年 7月 8日 (日) 00:42:34 JST


Index: docs/perl/5.8.8/perlcheat.pod
diff -u /dev/null docs/perl/5.8.8/perlcheat.pod:1.1
--- /dev/null	Sun Jul  8 00:42:34 2007
+++ docs/perl/5.8.8/perlcheat.pod	Sun Jul  8 00:42:34 2007
@@ -0,0 +1,125 @@
+=head1 NAME
+
+=begin original
+
+perlcheat - Perl 5 Cheat Sheet
+
+=end original
+
+perlcheat - Perl 5 ƒ`[ƒgƒV[ƒg
+
+
+=head1 DESCRIPTION
+
+=begin original
+
+This 'cheat sheet' is a handy reference, meant for beginning Perl
+programmers. Not everything is mentioned, but 194 features may
+already be overwhelming.
+
+=end original
+
+‚±‚́uƒ`[ƒgƒV[ƒgv‚Í Perl ƒvƒƒOƒ‰ƒ~ƒ“ƒO‚̏‰SŽÒ‚Ì‚½‚߂̃Šƒtƒ@ƒŒƒ“ƒX‚Å‚·B
+‘S‚Ăɂ‚¢‚ÄŒ¾‹y‚µ‚Ä‚¢‚é‚킯‚Å‚Í‚ ‚è‚Ü‚¹‚ñ‚ªA194 —v‘f‚Æ‚¢‚¤‚Ì‚Í
+”¼’[‚Å‚Í‚ ‚è‚Ü‚¹‚ñB
+
+=head2 The sheet
+
+(ƒ`[ƒgƒV[ƒg)
+
+  CONTEXTS  ˆó                 ”z—ñ          ƒnƒbƒVƒ…
+  –³Œø      $•Ï”     ‘S‘Ì:    @array        %hash
+  ƒXƒJƒ‰    @”z—ñ     ƒXƒ‰ƒCƒX @array[0, 2]  @hash{'a', 'b'}
+  ƒŠƒXƒg    %ƒnƒbƒVƒ… —v‘f:    $array[0]     $hash{'a'}
+            &ŠÖ”
+            *ƒOƒƒu  ƒXƒJƒ‰’l     
+                     ”’l, •¶Žš—ñ, ƒŠƒtƒ@ƒŒƒ“ƒX, ƒOƒƒu, undef
+  ƒŠƒtƒ@ƒŒƒ“ƒX
+  \     ƒŠƒtƒ@ƒŒƒ“ƒX    $$foo[1]       ‚Í $foo->[1]
+  $@%&* ‹tƒŠƒtƒ@ƒŒƒ“ƒX  $$foo{bar}     ‚Í $foo->{bar}
+  []    –³–¼”z—ñref     ${$$foo[1]}[2] ‚Í $foo->[1]->[2]
+  {}    –³–¼ƒnƒbƒVƒ…ref ${$$foo[1]}[2] ‚Í $foo->[1][2]
+  \()   ref‚̃ŠƒXƒg 
+                          ”’l    vs •¶Žš—ñ   ƒŠƒ“ƒN
+  ‰‰ŽZŽq‚Ì—Dæ‡ˆÊ        =          =        perl.plover.com
+  ->                      +          .        search.cpan.org
+  ++ --                   == !=      eq ne         cpan.org
+  **                      < > <= >=  lt gt le ge   pm.org
+  ! ~ \ u+ u-             <=>        cmp           tpj.com
+  =~ !~                                            perldoc.com
+  * / % x                 •¶–@
+  + - .                   for    (LIST) { }, for (a;b;c) { }
+  << >>                   while  ( ) { }, until ( ) { }
+  –¼‘O•t‚«’P€‰‰ŽZŽq      if     ( ) { } elsif ( ) { } else { }
+  < > <= >= lt gt le ge   unless ( ) { } elsif ( ) { } else { }
+  == != <=> eq ne cmp     for ‚Æ foreach ‚́u‚¢‚‚łàv“¯‚¶
+  &
+  | ^              ³‹K•\Œ»ƒƒ^•¶Žš           ³‹K•\Œ»CüŽq
+  &&               ^     •¶Žš—ñæ“ª           /i ‘召•¶Žš–³Ž‹
+  ||               $     •¶Žš—ñ––”ö(\n‚Ì‘O)   /m ^$ƒx[ƒX‚̍s
+  .. ...           +     1ˆÈã                /s .‚É\n‚ðŠÜ‚Þ
+  ?:               *     0ˆÈã                /x ‹ó”’‚𖳎‹
+  = += -= *= etc.  ?     0‚©1                 /g ƒOƒ[ƒoƒ‹
+  , =>             {3,7} ”͈͂̌J‚è•Ô‚µ 
+  ƒŠƒXƒg‰‰ŽZŽq     ()    Œã•ûŽQÆ         ³‹K•\Œ»•¶ŽšƒNƒ‰ƒX
+  not              (?:)  Œã•ûŽQÆ‚µ‚È‚¢   .  == [^\n]
+  and              []    •¶ŽšƒNƒ‰ƒX       \s == [\x20\f\t\r\n]
+  or xor           |     ‚Ü‚½‚Í           \w == [A-Za-z0-9_]
+                   \b    ’PŒê‹«ŠE         \d == [0-9]
+                   \z    •¶Žš—ñ––”ö       \S, \W, \D ‚Í‚»‚Ì‹t
+  ‚µ‚悤
+  use strict;        ‚·‚é‚È           ƒŠƒ“ƒN
+  use warnings;      "$foo"           perl.com
+  my $var;           $$variable_name  perlmonks.org
+  open() or die $!;  `$userinput`     use.perl.org
+  use Modules;       /$userinput/     perl.apache.org
+                                      parrotcode.org
+  ŠÖ”‚Ì•Ô‚è’l
+  stat      localtime   caller        “ÁŽê•Ï”
+   0 dev    0 •b        0 package     $_    ƒfƒtƒHƒ‹ƒg•Ï”
+   1 ino    1 •ª        1 filename    $0    ƒvƒƒOƒ‰ƒ€–¼
+   2 mode   2 Žž        2 line        $/    “ü—̓ZƒpƒŒ[ƒ^
+   3 nlink  3 “ú        3 subroutine  $\    o—̓ZƒpƒŒ[ƒ^
+   4 uid    4 ŒŽ-1      4 hasargs     $|    Ž©“®flush
+   5 gid    5 ”N-1900   5 wantarray   $!    sys/libcallƒGƒ‰[
+   6 rdev   6 —j“ú      6 evaltext    $@    evalƒGƒ‰[
+   7 size   7 ”N‚Ì“ú”  7 is_require  $$    ƒvƒƒZƒXID
+   8 atime  8 ‰ÄŽžŠÔ‚©  8 hints       $.    s”ԍ†
+   9 mtime              9 bitmask     @ARGV ƒRƒ}ƒ“ƒhƒ‰ƒCƒ“ˆø”
+  10 ctime  POSIX::                   @INC  ƒCƒ“ƒNƒ‹[ƒhƒpƒX
+  11 blksz  strftime    3..9‚ÍEXPR    @_    ƒTƒuƒ‹[ƒ`ƒ“ˆø”
+  12 blcks  ‚ðŽg‚¨‚¤!   ‚ÌŽž‚¾‚¯      %ENV  ŠÂ‹«•Ï”
+
+=head1 ACKNOWLEDGEMENTS
+
+=begin original
+
+The first version of this document appeared on Perl Monks, where several
+people had useful suggestions. Thank you, Perl Monks.
+
+=end original
+
+‚±‚Ì•¶‘‚̍ŏ‰‚̃o[ƒWƒ‡ƒ“‚Í Perl Monks ‚ÉŒ»‚êA‰½l‚©‚©‚ç—L—p‚È
+’ñˆÄ‚𒸂«‚Ü‚µ‚½BPerl MonksA‚ ‚肪‚Æ‚¤B
+
+=begin original
+
+A special thanks to Damian Conway, who didn't only suggest important changes,
+but also took the time to count the number of listed features and make a
+Perl 6 version to show that Perl will stay Perl.
+
+=end original
+
+d—v‚ȕύX‚ð’ñˆÄ‚µ‚Ä‚­‚ꂽ‚¾‚¯‚Å‚È‚­A‚¢‚­‚‚̋@”\‚ªÚ‚Á‚Ä‚¢‚é‚©‚ð
+”‚¦‚Ä‚­‚êAPerl ‚ª Perl ‚Ì‚Ü‚Ü‚Å‚ ‚邱‚Æ‚ðŽ¦‚·‚½‚ß‚É Perl 6 ”Å‚ð
+ì‚Á‚Ä‚­‚ꂽ Damian Conway ‚É“Á‚ÉŠ´ŽÓ‚µ‚Ü‚·B
+
+=head1 AUTHOR
+
+Juerd Waalboer <juerd****@cpan*****>, with the help of many Perl Monks.
+
+=head1 SEE ALSO
+
+ http://perlmonks.org/?node_id=216602      the original PM post
+ http://perlmonks.org/?node_id=238031      Damian Conway's Perl 6 version
+ http://juerd.nl/site.plp/perlcheat        home of the Perl Cheat Sheet


perldocjp-cvs メーリングリストの案内
Back to archive index