Perl and bash

Robin Crampton rcrampton@armature.com
Fri Aug 28 02:52:00 GMT 1998


I'm getting strange behaviour when running YeP Perl from bash.
Running this program:

 #!/usr/local/perl/qub/perl -w
 print "Your name? ";
 $name = <STDIN>;
 chomp ($name);
 print "Welcome $name!\n";

The third line doesn't block.  I get:

 Your name?
 Welcome !

So I got the latest ActivePerl and it does the same.
But both work perfectly in a DOS box.

Huh?  (CYGWIN32_95 PC-310 4.0 19.3 i586 unknown)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list