Skip Menu |

This queue is for tickets about the HTML-EmbeddedPerl CPAN distribution.

Report information
The Basics
Id: 129867
Status: new
Priority: 0/
Queue: HTML-EmbeddedPerl

People
Owner: Nobody in particular
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: eval_pv() used incorrectly
while checking CPAN for uses of eval_pv() I came across your code. This code: eval_pv((const char *)cnv, G_EVAL|G_KEEPERR|G_DISCARD); seems to be expecting eval_pv() to accept flags like eval_sv() does. eval_pv() only accepts an I32 croak_on_error that is only checked for being non-zero. Looking at the code after that I expect the only effect is that you'd leak cnv and whatever twepl_do_close(aTHX_ "STDOUT"); cleans up if the generated code fails to compiler or throws an error. Tony