in reply to PDL questions
Interface HASH(0X25C224) is not known!
The first argument to PDL::Graphics2D->new should be an Interface. I don't know enough PDL to know what that means exactly, but obviously a hash ref isn't a valid interface.