<STDIN> kills Padre 0.84 on execution

<STDIN> kills Padre 0.84 on execution

am 12.06.2011 15:08:26 von Sayth Renshaw

I created a simple script to test whether the Padre output console
would except input via . 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 = ;
print " $phrase ";

Replacing the 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 ";


sayth

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: <STDIN> kills Padre 0.84 on execution

am 12.06.2011 16:45:34 von Rob Dixon

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. 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 =;
> print " $phrase ";
>
> Replacing the 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-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: <STDIN> kills Padre 0.84 on execution

am 13.06.2011 01:23:35 von Sayth Renshaw

> 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
>

Thanks.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/