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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|