2006年02月07日
reverse関数
- ikepon
- 2006年02月07日
- コメントする
- トラックバック (3)
- カテゴリー:Perl
reverse関数に関して説明します。
reverse (リスト)
リストの要素の逆順の配列を返します。
次のファイルをsample112.plという名前で保存します。
@array1 = (1, 2, 3); @array2 = (5, 4, 3); print reverse(@array1), "\n"; print reverse(@array2), "\n";
実行結果は、次の様になります。
> perl sample112.pl 321 345
Trackback on "reverse関数"
以下3件のトラックバックはこのページのエントリー"reverse関数"を参照しています。
このエントリーのトラックバックURL:
» Tramadol medication.
- 2007年02月08日 20:47
- from Tramadol.
Cheap tramadol. Buy tramadol. Side effects of tramadol. Tramadol. Tramadol cheap... [続きを読む]
» Oxycontin addiction.
- 2007年02月21日 08:33
- from Oxycontin.
Oxycontin. How to shoot up oxycontin. Oxycontin addiction. [続きを読む]
"reverse関数"へのコメントはまだありません。