www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/03/15:06:34.1

From: Daniel Barker <sokal AT holyrood DOT ed DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Penalty for immature language (PERL/BASH)
Date: Sat, 3 Mar 2001 19:50:00 +0000
Organization: Edinburgh University
Lines: 29
Message-ID: <Pine.SOL.4.21.0103031945450.2501-100000@holyrood.ed.ac.uk>
References: <Pine DOT SOL DOT 4 DOT 21 DOT 0102282310120 DOT 12698-100000 AT holyrood DOT ed DOT ac DOT uk> <slrn99vf4d DOT sj DOT rpolzer AT rebounce DOT rpolzer-lx>
NNTP-Posting-Host: holyrood.ed.ac.uk
Mime-Version: 1.0
X-Trace: scotsman.ed.ac.uk 983648993 11090 129.215.16.14 (3 Mar 2001 19:49:53 GMT)
X-Complaints-To: usenet AT scotsman DOT ed DOT ac DOT uk
NNTP-Posting-Date: 3 Mar 2001 19:49:53 GMT
In-Reply-To: <slrn99vf4d.sj.rpolzer@rebounce.rpolzer-lx>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
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 Fri, 2 Mar 2001, Rudolf Polzer wrote:

[snip]

> 1. Try entering "poo" at the DOS prompt.

Nothing found.

> 2. Click on Start, then Find, then Files/Folders and type search for
> "*poo*".

YES! There is a file called poo.pl in the same directory. It has the
following contents:

 use constant FOO => 4;
 use constant BAR => 5;

If I rename this file to something other than poo.pl, the problem goes
away.

However, there is still a mystery. Why does this harmless program, which
sets two constants and "does nothing", cause a crash when it is called
from another PERL program?

Thanks again.

-- 
Daniel Barker.

- Raw text -


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