Re: How perl program execution happened ?



On Fri, May 30, 2008 at 4:50 AM, sivasakthi <msivasakthi@xxxxxxxxx> wrote:
Hi all,

It is a very basic question. But i want clear idea about how the perl
program execution was happened. I know Perl is a Interpreter language.I
need more information about whats going there internally .

could you explain or direct me right document?
snip

Perl is not interpreted. This is a common misconception. A program
written in Perl is compiled into an optree in its first stage of
running. This optree is then executed by perl. The best place to go
looking is probably "Programming Perl" (aka the Camel). Is there
something specific you want to know, or are you just curious?

--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
.



Relevant Pages

  • Re: Problem when embedding 2 Perl interpreters in C++
    ... I'm facing a problem when embedding two perl interpreters in my C++ ... My code has 2 threads - the GUI and the Core thread. ... Since the GUI thread dosen't have a perl interpreter running on it ...
    (comp.lang.perl.misc)
  • Embeded Perl, Dynaloader, relocation error: undefined symbol: Perl_Tstack_sp_ptr
    ... error using dynamically loaded modules from an embedded Perl ... background jump forward to the example Java code. ... we're looking at techniques that involve embedding Perl into the JVM. ... single static Interpreter into the ...
    (comp.lang.perl.misc)
  • Re: Need help with CGI/ DBI error (permissions?)
    ... >> Reason I'm asking is because even when I run the script from a command ... perl myscript ... > interpreter you specify in the shebang line is irrelevant. ... IIS server can't be too far off. ...
    (comp.lang.perl.misc)
  • Re: threads
    ... >The CPAN documentation on perl threads state the overhead of creating ... includes the Perl interpreter (forking, ... a subroutine without data locks, ... with a different set of auto data. ...
    (comp.lang.perl.misc)
  • Problem when embedding 2 Perl interpreters in C++
    ... I'm facing a problem when embedding two perl interpreters in my C++ ... My code has 2 threads - the GUI and the Core thread. ... Since the GUI thread dosen't have a perl interpreter running on it ...
    (comp.lang.perl.misc)