2008-03-19から1日間の記事一覧

definedのもう一つの使い方。

未定義値かどうかを確認する以外に、サブルーチン名を与えるとその有無を返すとか。 print defined &routine ? 'yes, exists.' : 'no, not found.';

definedのもう一つの使い方。

未定義値かどうかを確認する以外に、サブルーチン名を与えるとその有無を返すとか。 print defined &routine ? 'yes, exists.' : 'no, not found.';

definedのもう一つの使い方。

未定義値かどうかを確認する以外に、サブルーチン名を与えるとその有無を返すとか。 print defined &routine ? 'yes, exists.' : 'no, not found.';