看板 [ Perl ]
討論串[問題] block 的意思
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者gecer (gecer)時間7年前 (2018/03/09 21:36), 編輯資訊
1
0
1
內容預覽:
https://perldoc.perl.org/List/Util.html. $result = reduce { BLOCK } @list. 常看到 perldoc 提到 "BLOCK" 請問是什麼意思?. --. 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.255.17.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者gugod (啊)時間7年前 (2018/03/10 00:28), 編輯資訊
0
0
2
內容預覽:
基本上就是一段以大括號包起來的程式碼,大致上來說在 perl 文件中常看到的. 例子有:. map BLOCK LIST # perldoc -f map. grep BLOCK LIST # perldoc -f grep. if (EXPR) BLOCK # perldoc perlsyn. 把
(還有187個字)
首頁
上一頁
1
下一頁
尾頁