Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: creating a perl entry-point

by sundialsvc4 (Abbot)
on Jan 03, 2014 at 19:59 UTC ( #1069192=note: print w/replies, xml ) Need Help??

in reply to creating a perl entry-point

This is where you do see the origins of Perl as “a scripting language.”   You will, in the end, “invoke some ‘script’ (a .pl file),” and this file will “simply consist of” some set of executable statements, which will be executed.   In effect, then, this file, in its entirety, is your void main().

Modern-day Perl is, however, “a modular language,” so it is quite to be expected that your “.pl file” will mostly consist of use xxx; statements (thereby referring to files that are to be found somewhere in the @INC search-list ...) such that most of the actual meat-and-potatoes of the total application will actually be found there.

In the Perl language (and its many brethren ...) you certainly can see a very sharp distinction with the world of pure-compiled languages such as C(++) ... a great many more things happen “on the fly,” and it’s okay, because, all-the-time and throughout everything, “the Perl interpreter is there,” and its magnificent perlguts.   We stand on the shoulders of giants.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069192]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-05-25 11:54 GMT
Find Nodes?
    Voting Booth?