LanX has asked for the wisdom of the Perl Monks concerning the following question:
C:\>perl -MO=Deparse -e "my DB $x; print $x" my DB $x; # <-- DB print $x; -e syntax OK C:\>perl -MO=Concise -e "my DB $x; print $x" 8 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v:{ ->3 3 <0> padsv[$x:1,2] vM/LVINTRO ->4 # <-- no DB 4 <;> nextstate(main 2 -e:1) v:{ ->5 7 <@> print vK ->8 5 <0> pushmark s ->6 6 <0> padsv[$x:1,2] s ->7 -e syntax OK
So where is the information hidden in the OP-tree, such that Deparse can see it but not Concise?
Please enlighten me! :)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) for simplicity I just randomly picked a predefined package DB (debugger) as a dummy type.
Devel::Peek neither helps
C:\>perl -MDevel::Peek -e "my DB $x=10; Dump $x" SV = IV(0xee96a8) at 0xee96b8 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 10
|
---|