New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eval_pv and eval_sv stack behavior needs POD, @_ bugs #13855
Comments
From @bulk88Created by @bulk88While helping someone in #xs, a problem (in returned list, same SV * --------------------------------------------- for(i = 0; i< cnt; i++) { perlcall barely says anything about the 2 eval_* funcs, they are more So there are 2 questions which need to be answer in perlapi -do eval_pv and eval_sv take PUSHMARK(SP); and @_ args? My testing shows eval_pv does NOT take perl stack params, but in a edge --------------------------------------------- void void use Data::Dumper; sub run1 { sub run2 { sub Dump{ print "going to go through call_pv, then into eval_pv, nada, zero args\n"; C:\Documents and Settings\Owner\Desktop\cpan libs\lxs> So what is eval_pv's behavior with @_? If we aren't going to implement Perl Info
|
From @LeontOn Sun, May 18, 2014 at 1:58 AM, bulk88 <perlbug-followup@perl.org> wrote:
Why would it?
Anything function (core or the module's) that manipulates the stack needs
That's because «&function;» inherits the @::_, not the stack values. I Leon |
The RT System itself - Status changed from 'new' to 'open' |
Given the question was answered, I'm closing this case. |
Migrated from rt.perl.org#121905 (status was 'open')
Searchable as RT121905$
The text was updated successfully, but these errors were encountered: