日本の Perl ユーザーに最新の情報を届けたい
Perl Mongers とは、日本各地に存在する、Perl ユーザーのコミュニティのことです。各種イベントが行われていますので、是非参加してみましょう。
毎年12月に、日本の Perl コミュニティでは、技術記事を連載しています
このサイトはgithub で管理されています(
githubのperl-users-jp.github.io)
記事の投稿/修正したい場合は fork して pull-req してください。
\ リファレンス
$@%&* デリファレンス
[] 配列リファレンス
{} ハッシュリファレンス
\() リファレンスリスト
$$foo[1] aka $foo->[1]
$$foo{bar} aka $foo->{bar}
${$$foo[1]}[2] aka $foo->[1]->[2]
${$$foo[1]}[2] aka $foo->[1][2]
-> ++ -- ** ! ~ \ u+ u- =~ !~ * / % x + - . << >> named uops < > <= >= lt gt le ge == != <=> eq ne cmp & | ^ && || .. ... ?: = += -= *= etc. , => list ops not and or xor
= = + . == != eq ne < > <= >= lt gt le ge <=> cmp
for (LIST) { }, for (a;b;c) { }
while ( ) { }, until ( ) { }
if ( ) { } elsif ( ) { } else { }
unless ( ) { } elsif ( ) { } else { }
for equals foreach (ALWAYS)
^ string begin
$ str. end (before \n)
+ one or more
* zero or more
? zero or one
{3,7} repeat in range
() capture
(?:) no capture
[] character class
| alternation
/i case insens. /m line based ^$ /s . includes \n /x ign. wh.space /g global
. == [^\n] \s == [\x20\f\t\r\n] \w == [A-Za-z0-9_]