Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 perusing the Monastery: (5)
As of 2015-07-28 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls