Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Running scripts normally without using shell?

by Albannach (Monsignor)
on Oct 15, 2006 at 04:55 UTC ( [id://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:
<STDIN>;
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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-19 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found