weblog of key_amb

主にIT関連の技術メモ

File::Which を使って perl で which

See File::Which - search.cpan.org

use File::Which qw(which);

my @paths = which('perl');