Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hansm@wsinti05.win.tue.nl (Hans Mulder)
Subject: Re: Getopts Problem on OSF/1
Date: 1995/07/10	[thread overview]
Message-ID: <3trfqe$h0@wsinti05.win.tue.nl> (raw)
In-Reply-To: hippo-0707951442340001@cerebus.garply.com

In <hippo-0707951442340001@cerebus.garply.com> hippo@garply.com (Hugh Messenger) writes:

>In article <3tgp2k$p02@ftp.univie.ac.at>, pm@katz.cc.univie.ac.at (Peter
>Marksteiner) wrote:

>> Daniel Anderson (andersdc@net-works.net) wrote:

>> : I am having a problem with Getopts running perl5 on a DEC Alpha 
>> : with OSF/1.  The script core dumps in the Getopts routine...

>> I'm not sure I have a solution, but definitely I had the same problem.
>> I traced it to the "eval"-statements in the Getopts routine. The perl 5
>> version of eval behaves rather differently from its perl 4 predecessor, but
>> I don't know what the differences are - except that perl 5 eval on OSF/1
>> sometimes dumps core.

>Strange.  I use Getopts heavily in my Alpha/OSF perl 5.000, never had a problem.
>I'm about to upgrade to 5.001 ... maybe Getopts will cease working ... :)

It will.  There is a serious bug in straight 5.001 and it's most visible
effect is to dump core in the Getopts routine.

Use 5.001a or later if you want ot use Getopts.

Versions prior to 5.001m have problems returning arrays from subs.

On the other hand, versions later than 5.001e tends to dump core if
you increment an undefined element in a tied hash (e.g. a DBM file).

--
Hope this helps,

HansM



  reply	other threads:[~1995-07-10  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-05  4:00 Getopts Problem on OSF/1 Daniel Anderson
1995-07-06  4:00 ` Norbert Mikula
1995-07-06  4:00 ` Peter Marksteiner
1995-07-07  4:00   ` Hugh Messenger
1995-07-10  4:00     ` Hans Mulder [this message]
1995-07-10  4:00     ` Guenter Schmidt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox