Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 5 Apr 2005 22:03:10 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: beau cc: cygwin AT cygwin DOT com Subject: Re: perl, cygwin or caffeine In-Reply-To: <95a8830605040518437b70c030@mail.gmail.com> Message-ID: References: <95a8830605040518437b70c030 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 5 Apr 2005, beau wrote: > Not sure where the problem is, and am not having luck with the > archives. I've got a little dummy script > > <--begin quoted--> > #!/usr/bin/perl > > $foo = ; > > print $foo . "\n"; > <--end quoted> > > It just sits and spins until I kill it. I tried "export > PERLIO=perlio" in my .bashrc, but maybe that just displays an > unflattering willingness to try things I don't totally dig. Of > course, $foo = "constant"; worked just fine. > > Will beg for clues. What exactly is the behavior you get, and what did you expect? Of *course* it would sit and spin there until you enter exactly one line of text... Once that happens, the script exits just fine (for me, at least). Try invoking it as echo "Blah" | ./dummy.pl if you don't want to input from a terminal. If the above doesn't work for you, we'll need to debug further. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/