Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Running scripts normally without using shell?

by Albannach (Prior)
on Oct 15, 2006 at 04:55 UTC ( #578354=note: print w/replies, xml ) Need Help??

in reply to Running scripts normally without using shell?

If it's simplicity you want, just make this the last line of your script:
This early in your lessons it is probably sufficient to say that this tells perl to wait for something to be typed, and that will have the effect of holding the window open for you. When you have finished admiring your output, just hit Enter, thereby giving the program some input and the window will close. There are lots of other ways to do what you want, like use one of many GUI toolkits or IDEs, but this is certainly simple and cheap!

Besides, I think you may find after some time that despite the shell being "old fashioned", it is often a far better environment to work in!

I'd like to be able to assign to an luser

Update: fixed typo

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578354]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2018-07-18 03:08 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (383 votes). Check out past polls.