On 03/07/2017 11:53 AM, Brandon Allbery wrote:
On Tue, Mar 7, 2017 at 3:12 AM, ToddAndMargo <[email protected] <mailto:[email protected]>> wrote: 1) Looking at other code, I see this at the top a lot: use v6; Mine have as the first line #!/usr/bin/perl6 What is "use v6;" used for? It ensures that perl 5 will choke if it gets asked to load the file, which can happen on Windows. If you use bash/zsh on Windows then #! will work for things run directly from the shell; anywhere else will be spotty at best, as neither cmd.exe nor Powershell understand #! and neither do the Windows spawn calls. -- brandon s allbery kf8nh sine nomine associates [email protected] <mailto:[email protected]> [email protected] <mailto:[email protected]> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
That explains it. Thank you!
