On 12/06/2011 14:08, Sayth Renshaw wrote:
I created a simple script to test whether the Padre output console would except input via<STDIN>. After creating the script I pressed F5; no output is put to the console. I waited about 30 seconds - 1 min still nothing I stopped the process executing. This was the script. #!/usr/bin/perl print " Give me a word then I'll go to bed: \n"; my $phrase =<STDIN>; print " $phrase "; Replacing the<STDIN> with a string and Padre works again. Is this intended or known behaviour? I am using 0.84. This script works #!/usr/bin/perl print " Give me a word then I'll go to bed: \n"; my $phrase = "Howdy Partner \n"; print " $phrase ";
If you go to Tools / Preferences / Run Parameters and check 'Use external window for execution' then Padre will start up a new cmd window for execution which will respond as you expect. Rob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/