Closed JJ closed 3 years ago
For me using another module
my $pdf = PDF::EasyPDF.new(${file=>"mypdffile.pdf",x=>mm("$height"),y=>mm("$width")});
Seems to work (so adding $
before hash braces. From link stackoverflow)
Edit: So reading the link more thouroughly, it's in the current doucmentation under Pass a scalar reference to Perl 5 code
I cannot reproduce this issue anymore. According to git bisect I fixed it with commit f4473114a296a7ab61e6cfb7e1fe540fe931ec6b
This program:
Errors with :
Don't thing trying and put "use strict refs" somewhere would fix it...