Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

wperl.exe vs perl.exe

by Nalina (Monk)
on Aug 16, 2004 at 06:42 UTC ( #383211=perlquestion: print w/ replies, xml ) Need Help??
Nalina has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,
What happens if I use wperl.exe instead of perl.exe? What r the other substitutes for perl.exe?

janitored by ybiC: Retitle from "wperl.exe" because one-word node titles hinder site search

Comment on wperl.exe vs perl.exe
Re: wperl.exe vs perl.exe
by Corion (Pope) on Aug 16, 2004 at 06:49 UTC

    The wperl.exe command under Windows starts Perl without attaching it to a console. This means that if you associate for example the file extension .wpl with wperl.exe, double-clicking test.wpl will not pop up a console window with text scrolling by. This is very convenient if your Perl script is written using Win32::GUI or some other windowing toolkit.

    Using wperl.exe and thus not having a console attached also has a drawback - STDIN,STDOUT and STDERR are not available, so you will need to reopen them to some log files if you output any text via print or warn.

      will wperl.exe run continuesly unless it is terminated by opening Task Manager and terminating wperl.exe process? If not how do I do it?

        wperl.exe will exit when your script exits. Simple as that. If your script never exits of itself, and has no method in it for you to terminate it, then you will have to terminate it through the task manager.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://383211]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2014-07-13 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls