On Jan 8, 2013, at 10:07 PM, Thomas Pfau <tfp...@gmail.com> wrote:

> > Bizarre copy of UNKNOWN in list assignment at 
> > /DISK$USERS/PFAU/PROG/PERL/vms-cms/blib/lib/VMS/CMS.pm line 490.

A quick web search shows that this usually means the compiler flags used to 
compile the extension are different from the compiler flags used to compile 
Perl.  Your Makefile.PL has the line:

    CCFLAGS           => 
"/include=[]/standard=relaxed_ansi/prefix=all/obj=.obj/noshare_globals"

which will be similar but not 100% the same as what's used to build Perl, 
depending on configuration.  You'll probably want to take $Config{ccflags} and 
append "/noshare_globals" to it, though since that's the default for the 
compiler, it doesn't seem necessary to specify it.

You can see what your Perl was built with by doing:

$ perl -"V:ccflags"
ccflags='/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj 
/NOANSI_ALIAS/float=ieee/ieee=denorm/NAMES=(SHORTENED)/Define=_USE_STD_STAT=1';

________________________________________
Craig A. Berry
mailto:craigbe...@mac.com

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to