Quantcast
Channel: Perl入門ゼミ
Viewing all articles
Browse latest Browse all 28

プロセスIDを取得する $$

$
0
0



  1. Perl




  2. 特殊変数



  3. here

プロセスIDを取得するには特殊変数「$$」を使用します。

my$process_id = $$;

プロセスIDとは、OSがプロセスを一意に識別するために、プロセス起動時に割り当てる識別子のことです。


Viewing all articles
Browse latest Browse all 28

Trending Articles