Hi Everyone,

I have a technical question regarding how Perl scripts are run by Servers.

In traditional programming a source file (containing human readable programming instructions) is first compiled (into binary data) before it can be run by a computer.

Do Perl commands get compiled before being run, or does the "scripting engine" interpret the human readable commands directly?

Any help here will be greatly appreciated.

Kind Regards,

Davo

Recommended Answers

All 2 Replies

perl is an interpreted language, a perl interpreter installed in the server
basic on a larger scale
human readable instructions are interpreted as is
available for development purpposes on a smaller scale down to usb thumbdriver versions

Hi Davo,

perl compiles the code before running the programme, Even perl is an interpreter, it has its own compile phase and interpreter phase. The difference between perl and compiled programme is, Perl Compiles the programme each time rather than only once.

Thanks and regards,
Balaji. C

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.