Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Initialisation of global variables in PERLEMBED

by jithoosin (Scribe)
on Dec 19, 2005 at 08:06 UTC ( #517672=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://517672]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2023-01-31 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?