This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Perl and bash


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]