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

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.