Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: executing perl not from command prompt

by BillKSmith (Deacon)
on Jun 29, 2013 at 10:46 UTC ( #1041445=note: print w/ replies, xml ) Need Help??


in reply to executing perl not from command prompt

If perl is set up correctly on you computer, your perl script will run when you click on it. However, if your script does not do any input from the keyboard, you probably won't know that it ran. It opens a command window, runs in it, and closes that window so fast that you do not see anything. The easiest solution is to put a diamond operator (<>) at the end of your script. This gives you a chance to see your output. Type any character, or close the window to end the script.

Bill


Comment on Re: executing perl not from command prompt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2015-08-28 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (339 votes), past polls