in reply to Recieving input during runtime..

<STDIN> should work fine. I am guessing, from looking at your previous posts and a few other clues (like your use of 'exe'), the following:
You are working on Microsoft Windows
You created a perl executable based on pp or PAR
When you execute this it does not create a console window

Are these assumptions correct? How are you running the executable, from Windows Explorer or from a cmd.exe command-line? Do you have any diagnostics you can offer us?

Replies are listed 'Best First'.
Re^2: Recieving input during runtime..
by tej (Scribe) on Dec 01, 2010 at 14:29 UTC

    I am sorry, but i am not using pp to create exe, i could not install pp on my systen becuase i am getting error for 'c compiler'. I tried installing MinGW via ppm and i get error like "no such package". So i used perl2exe... However its giving such problems now..

    I tried command as install MinGW in ppm

    I dont know why it is happening..Is there nything wrong in this command? or there is some other way to install MinGW?

      Which version of ActiveState Perl are you using. Which repositories do you have set up? Are you able to install modules via PPM? Is that ('no such package') the complete message, or is there anything else whe should know?

      Update:

      Show us how you tried to use perl2exe to create the exe. Stop asking us to guess what could be wrong. If you used the -gui option, I'm sure you read the manual:

      "Create a no-console executable. This can be used for Tk and Win32::GUI applications. I/O to STDOUT and STDIN will not be visible. If your application does not work do not use the -gui option while testing as it will hide possible error messages. Applies to Windows version only."

        I used command perl2exe scriptname.pl to create executable. I am able to install modules via ppm, only thing i am not able to install via ppm is MinGW. I tried installing pp via ppm and i got message to install it manually. I nnede xml::parser as prerequisite. so i tried installing it.

        xml::parser requires c compiler. I tried installing MinGW via installer, but it did not work. So i tried using ppm install MinGW which also did not work.

        I really apologise for making you guess, but i am really new to programming and have no idea which factors may matter for the perticular issue.