By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,675 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

Copy HV in perl xs

P: 3
I have such kind of problem.

I have a AV* object in my xs procedure.
It looks like this ['1', {'value1' => 'a'} ]

Now I want to copy hash to another variable and I can access it
by *av_fetch(currentElement, 1,0)

and then delete currentElement by SvREFCNT_dec(currentElement).

So the question is how can I copy HV* ?
Jun 22 '10 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 3,503
Why not post your code and we can guide you in getting to do what you want. But, we need to see your code that you have been working with first so we don't duplicate efforts.


Jun 23 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.