There are different terms which are slightly different.

Perl5 has so called op-codes.

you can use B::Terse or B::Concise to see the opcode °

c:/tmp $ perl -MO=Terse -e'print "Hallo Discipulus"' -e syntax OK LISTOP (0x26eb410) leave [1] OP (0x26eb3e0) enter COP (0x26eb450) nextstate LISTOP (0x26eb4e0) print OP (0x26eb4b0) pushmark SVOP (0x26eb520) const [1] PV (0x4c87b8) "Hallo Discipulus"

The difference seems that bytecode is kind of an artificial low level machine-code while op-code are more the tokens for high level commands.

see http://www.differencebetween.info/difference-between-opcode-and-bytecode

AFAIK it's even more complicated for Perl5 because some things are mangled.

From what I heard does Perl6 have even more possibilities. There is at least a Java-bytecode implementation (in the making ?)

HTH

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

°) and B::Deparse does nothing else than trying to back-engineer Op-code to most likely source code.


In reply to Re^4: Pre-compiled Perl? by LanX
in thread Pre-compiled Perl? by bbs2web

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.