Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Comment on Re: creating a perl entry-point

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2016-04-29 07:32 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (438 votes). Check out past polls.