Hi Monks!
Thanks for your questions. Please find the answers below.
A macro to do what?
-I want macro do following activity
- To check whether the variable are define before using
- Log the value passed to the variable entering/leaving a function i.e. to printing the trail of Input and output variable.
- Memory statistic before entering and leaving the function
to have idea about the memory status.
I don't want that code to be part of the final product. I need those things for development/debugging purpose.
What are your inputs?
Input is .pl file
What processing do you need to do?
- To check whether the variable are define before using
- Log the value passed to the variable entering/leaving a function i.e. to printing the trail of Input and output variable.
- Memory statistic before entering and leaving the function
to have idea about the memory status.
What is your expected output?
Expected output that all the above should be control with
#ifdef , so that these things help in debugging but i don't want that to be part of the final product.
What have you tried so far?
I am trying to learn ExtUtils::PerlPP but i have not comprehand it properly.
I hope, I have explained my situation. Please let me know , if you need more input from me.
Regards,
Mihir