develooper Front page | perl.perl5.porters | Postings from December 2011

backreferencing perl code

Thread Next
Kamal Khatri
December 21, 2011 04:08
backreferencing perl code
Message ID:
Hi all,

In the code below, the if condition generates OP_AND. Inside perl
interpreter, is there a way to know that the OP_AND was generated
by the statement "if ($a==1)".  I could not figure if it was possible to use
PL_op to backreference the actual source code.

$a = 1;
if($a == 1) {
  print "\$a == 1";

Any pointers would be helpful.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About