Is there a Perl module that works similarly to the Unix “which” command?

后端 未结 2 942
悲&欢浪女
悲&欢浪女 2021-01-13 09:55

I was on Perlmonks and found this great listing:

http://www.perlmonks.org/?node_id=627015

But it was missing \"which\", the function that searches for an exe

2条回答
  •  囚心锁ツ
    2021-01-13 10:24

    Have you seen this Snippet?

    which (for Windows) in pure perl

    The follow-up points to the module File::Which on CPAN.

提交回复
热议问题