delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/01/03:56:21

Date: Thu, 1 Mar 2001 10:50:36 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Daniel Barker <sokal AT holyrood DOT ed DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Penalty for immature language (PERL/BASH)
In-Reply-To: <Pine.SOL.4.21.0102282310120.12698-100000@holyrood.ed.ac.uk>
Message-ID: <Pine.SUN.3.91.1010301105018.4534L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 28 Feb 2001, Daniel Barker wrote:

> At the BASH prompt, I launch the following PERL script, prog.pl:
> 
> while(<>)
> {
> `$_`
> }
> 
> If I give this a single line consisting of the word "poo", BASH performs
> an illegal instruction.

Could you please describe, for the Perl-illiterate such as myself,
what does this loop do, in the terms of its interaction with the OS?
Looking into this problem involves the DJGPP library as well as
Perl-specific knowledge; I lack the second part to try to think about
the possible reasons.

- Raw text -


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