delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/05/21:58:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 18:57:49 -0700
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: perl, cygwin or caffeine
Message-ID: <20050406015749.GA2860@efn.org>
References: <95a8830605040518437b70c030 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <95a8830605040518437b70c030@mail.gmail.com>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Tue, Apr 05, 2005 at 06:43:06PM -0700, 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 = <STDIN>;
> 
> 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.

Are you giving it an input line?  <STDIN> returns one line (in scalar
context, anyway) from standard input.

Since this is not cygwin related, you may want to try asking this kind
of question at http://perlmonks.org/?node=Seekers%20of%20Perl%20Wisdom or
perl beginners (http://lists.perl.org/showlist.cgi?name=beginners)
or comp.lang.perl.misc or comp.lang.perl.moderated.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019