Hello everyone,

After years, I am finally dusting off PDL::Graphics::Prima. I'm compiling
PDL::Drawing::Prima and getting a lot of warnings of this sort:

Use of uninitialized value $obj{"PMFunc"} in concatenation (.) or string at
/home/dcmertens/perl5/lib/perl5/x86_64-linux-thread-multi/PDL/PP.pm line
1060.

Interestingly, in my pp_def calls, I consistently set PMFunc => undef and
PMCode to something interesting. My memory is too hazy for me to remember
the distinction between these two, but presumably I had a reason for doing
this back in 2011. Note: everything compiles and works fine.

Is this a bug in how pp_def handles PMFunc, or is there something in my
code that I should change to suppress these warnings?

Thanks!
David

-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to