Re: Window Disappearing after executing Perl Script
From: Dave Brown (dhbrown_at_bga.com)
Date: 06/15/04
- Next message: Frank Sonnemans: "Re: Image Processing"
- Previous message: ixtahdoom: "Compress::Zlib for UNCOMPRESSED output"
- In reply to: Mitchley: "Window Disappearing after executing Perl Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jun 2004 12:49:33 -0700
mahesh_666@hotmail.com (Mitchley) wrote in message news:<7ebb99b4.0406041420.d4f8b27@posting.google.com>...
> Hi,
>
> I have written an extremely trivial perl script, but for some reason,
> when I try to execute it, the (execution) window just diappears.
> This is my script: (trivial.pl)
>
> #!/usr/local/bin/perl
> print "Look at all the camels!\n";
>
> So, to execute, I just double click on the file - the execution window
> pops up, my print statement gets executed, and then for some reason,
> the window immediately disappears. Any idea what is happening?
The only way I know is to put a <> at the end of the script. This
will cause the script to wait for input from the keyboard, keeping the
window open. Then, when you hit "Enter", the script will terminate
and the window will close.
- Next message: Frank Sonnemans: "Re: Image Processing"
- Previous message: ixtahdoom: "Compress::Zlib for UNCOMPRESSED output"
- In reply to: Mitchley: "Window Disappearing after executing Perl Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|