From: Daniel Barker 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: References: NNTP-Posting-Host: holyrood.ed.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 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 Precedence: bulk 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.