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

后端 未结 2 949
悲&欢浪女
悲&欢浪女 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.

    0 讨论(0)
  • 2021-01-13 10:25

    File::Which. Always check CPAN! :)

    0 讨论(0)
提交回复
热议问题