- 440 名前:253 mailto:sage [2020/08/31(月) 21:47:00.41 ID:Mm8nXRhv.net]
- >>401 Perl5
use feature qw{signatures}; sub f($n) { $n ? (f($n-1), ($n) x $n) : () } @a = f(3); print "@a\n"; 実行結果 ~ $ perl 18_393_inc_ary.pl The signatures feature is experimental at 18_393_inc_ary.pl line 2. 1 2 2 3 3 3
|

|