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


sayth

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


Reply via email to