in reply to Re^2: How to make Wake Win32 work?
in thread How to make Wake Win32 work?

in a native windows perl implementation (activeperl for instance), i think the shebang is ignored altogether,

Not so.

C:\test>perl #! perl -c $x = 1; ^Z - syntax OK

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: How to make Wake Win32 work?
by EvanK (Chaplain) on Oct 25, 2006 at 03:24 UTC
    yes, but you're coding directly into the perl interpeter. i mean if you execute a prewritten .pl file thats associated with the perl compiler.

    __________
    Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
    - Terry Pratchett

      Then also

      C:\test>type junk.pl #! perl -c $x = 1; C:\test>assoc .pl .pl=Perl C:\test>ftype Perl Perl="c:\perl\bin\perl.exe" -sw "%1" %* C:\test>junk Name "main::x" used only once: possible typo at C:\test\junk.pl line 2 +. C:\test\junk.pl syntax OK

      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.