2013-09-16から1日間の記事一覧
use strict; use warnings; sub body { 'body' } sub { [200, [], [ body ]] } を plackup したときは問題ないが use strict; use warnings; sub body { 'body' } package Dummy; package main; sub { [200, [], [ body ]] } にして plackup すると Error wh…
http://www.nntp.perl.org/group/perl.perl5.porters/2013/07/msg204023.html perldelta.pod The new %hash{...} and @array[...] syntax returns a list of key/value (or index/value) pairs. (おそらく @array[...] は %array[...] の間違い) perl 5.19.4…