"be consistent" | |
PerlMonks |
Re^3: caller() returns wrong line on multi-line function callby RonW (Parson) |
on Sep 15, 2017 at 19:01 UTC ( [id://1199474]=note: print w/replies, xml ) | Need Help?? |
I wanted to include in the output any comments in the script adjacent to each function call to generate a regex in the output Seems a reasonable thing to me. My approach would be to change the script so those comments are string literal instead of actual comments. Then the text is readily available to your generator script to include in the generated module.
In Section
Seekers of Perl Wisdom
|
|