![]() |
|
Do you know where your variables are? | |
PerlMonks |
size of scalar returned by POPp in perlEmbedby jithoosin (Scribe) |
on Feb 03, 2006 at 09:01 UTC ( #527565=perlquestion: print w/replies, xml ) | Need Help?? |
jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks, Is there any way by which we could deteremine the size of string variable returned by POPp command ( used in perl embed ). I need this because i use char string[2058]; strcpy(string , POPp) . But the problem is some times the string returned (pointer ) by POPp is greater than the size i already allocted. So i want to dynamically allocate the size required. Could any of the monks tell me how to do this. Thanks Kiran.
Back to
Seekers of Perl Wisdom
|
|