jithoosin has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I am using PERLEMBED for calling perl from C. I call perl subroutines using "perl_call_argv". But in the perl file there are a lot of subroutines and global variables (ofcourse outside all the subroutines). I want to know when the global variables are getting intialized. Is it initailized when i call the "perl_run" OR "perl_parse" or are they re-initialized every time i call "perl_call_argv". Suppose if i wanted to reinitalize the global subroutines after some time what command should i use.

Thanks
Kiran
  • Comment on Initialisation of global variables in PERLEMBED