File: 02-whence.raku

package info (click to toggle)
raku-file-which 1.0.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 156 kB
  • sloc: makefile: 4; sh: 2
file content (10 lines) | stat: -rwxr-xr-x 160 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env raku

use v6;
use File::Which :whence;

# All perl executables in PATH
say whence('raku', :all);

# First executable in PATH
say whence('raku');