Windows automatically associates a .pl file with the Perl interpreter, so
simply clicking on the "yellow icon" associated with the file (assuming you
have not changed it", should do the job.  The down side of this is that the
resulting DOS window disappears as soon at the program terminates.  A
solution is to bundle it around a batch file.

Another solution is to add this to the end:

print 'Press [enter] to continue...'
my $end = <STDIN>;
print 'See ya later!';

That keeps the window open until you hit enter.

Lee.M - JupiterHost.Net

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to