Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Perl/Tk on Windows 7

by thunders (Priest)
on Feb 06, 2012 at 21:45 UTC ( #952166=note: print w/replies, xml ) Need Help??

in reply to Perl/Tk on Windows 7

You distribution should come with an executable called wperl.exe. If you use that it should get rid of the console window.
Just edit the first line of your script to use

Replies are listed 'Best First'.
Re^2: Perl/Tk on Windows 7
by pmbp (Initiate) on Feb 06, 2012 at 22:02 UTC

    I tried both of your suggestions and neither did the trick, but the 'wperl' part did give me the hint I needed. The procedure seems to be to right click on the script file and select 'properties'. From there you can change "opens with" to wperl instead of just perl.

    Thanks for the suggestion!

      Oh yeah, that makes sense. I forgot that at the GUI level windows relies on file associations based on file extensions, and probably ignores the shebang line entirely.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952166]
zentara is thinking of moving to Mars to esacpe it all
[LanX]: Zentara eq Dr Manhatten ?
[zentara]: more like Dr. Helion3 :-)
[LanX]: Eily: though I haven't found a a reference for this one yet : Re^2: OT: Got fired this week (orange)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-03-27 15:26 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.