http://qs1969.pair.com?node_id=519722

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?