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


in reply to Re^3: Perl5.26 installing Tk module manually
in thread Perl5.26 installing Tk module manually

Hi Marshall

I am not getting this handshake error in a perl script, and not in other scripts and I found the difference in the shebang line, when I use #!perl I get handshake error. When I use #!wperl I did n't get the handshake error it works fine as expected.


All is well. I learn by answering your questions...

Replies are listed 'Best First'.
Re^5: Perl5.26 installing Tk module manually
by Marshall (Canon) on May 11, 2021 at 02:13 UTC
    OK. As I understand it the .MSI file I gave you worked for Perl 5.26?

    Windows does not use the shebang line for path information. However options after perl are processed.

    #!/usr/bin/perl
    is a NOOP in Windows Perl. However options after perl are processed like -w etc.
    I prefer explicit statements like use warnings;.

      Even the perl 5.28 custom built package also works!


      All is well. I learn by answering your questions...
        This makes me quite pleased! Happy coding!