Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl bytecode

by mulander (Monk)
on Dec 06, 2005 at 15:52 UTC ( [id://514514]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl bytecode
in thread Perl bytecode

Thank you both for anwsers.
Fletch you hit the bull's eye, It is exactly what I wanted to obtain.
Thank you again for the time and trouble.
Next time I will try harder searching my own anwser, as It seems that it was just under my nose.

Replies are listed 'Best First'.
Re^3: Perl bytecode
by ysth (Canon) on Dec 06, 2005 at 21:11 UTC
    With the -exec flag, B::Concise gives output closer to your example:
    $ perl -MO=Concise,-exec -we'print "Hello, world!\n";' 1 <0> enter 2 <;> nextstate(main 1 -e:1) v 3 <0> pushmark s 4 <$> const[PV "Hello, world!\n"] s 5 <@> print vK 6 <@> leave[1 ref] vKP/REFC -e syntax OK
    by showing execution order rather than the op tree (but no longer shows optimized-away ops and can make branching ops less clear).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://514514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found