On 04/01/2017 03:05 PM, Brandon Allbery wrote:
On Sat, Apr 1, 2017 at 6:01 PM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:

    On 04/01/2017 03:52 AM, Francis (Grizzly) Smit wrote:

        #!/usr/bin/env perl6

        is probably better let /usr/bin/env find the path to perl6


    What do you mean?


`env` does a $PATH search, and usually is in /usr/bin so it's slightly
more portable than hardcoding a path to perl6 that might not be valid.
(#! requires a full path to an existing binary.)

So, if I can do a `perl6 -v`, the `env` will find the guy.  :-)

Reply via email to