From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10259a,3c25b735ad2bcf69 X-Google-Attributes: gid10259a,public X-Google-Thread: fee84,3c25b735ad2bcf69 X-Google-Attributes: gidfee84,public From: hippo@garply.com (Hugh Messenger) Subject: Re: Getopts Problem on OSF/1 Date: 1995/07/07 Message-ID: #1/1 X-Deja-AN: 105828835 references: <3tep2f$6bk@cheetah.net-works.net> <3tgp2k$p02@ftp.univie.ac.at> organization: Net Results, Inc. newsgroups: comp.lang.perl,comp.unix.osf.osf1 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. Could it be one of the myriad config options on the perl build? I can tar up my working version of perl for you if you want. I'm about to upgrade to 5.001 ... maybe Getopts will cease working ... :) -- hugh