jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I just want to know that is their any limit on the size of variable being passed to perl from C if using perlembed. I have this doubt because the perl stack is being used for the variable being passed .
My requirement is to pass any html file from C file to perl file.I use XPUSHs(sv_2mortal(newSVpv(htmlFileBuffer,0)));
When i use 0 in the "newSVpv " will perl calculate the size of the variable ,what ever it may be?
I just want to know that is their any limit on the size of variable being passed to perl from C if using perlembed. I have this doubt because the perl stack is being used for the variable being passed .
My requirement is to pass any html file from C file to perl file.I use XPUSHs(sv_2mortal(newSVpv(htmlFileBuffer,0)));
When i use 0 in the "newSVpv " will perl calculate the size of the variable ,what ever it may be?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perlembed - limit on size of variable being passed to perl from C (heap)
by tye (Sage) on Dec 29, 2005 at 07:19 UTC | |
Re: perlembed - limit on size of variable being passed to perl from C
by Madcap Laughs (Acolyte) on Dec 31, 2005 at 10:08 UTC |
Back to
Seekers of Perl Wisdom