Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: When does it make sense to preload modules when starting Starman?

by LanX (Saint)
on Oct 28, 2021 at 11:29 UTC ( [id://11138142]=note: print w/replies, xml ) Need Help??


in reply to Re^2: When does it make sense to preload modules when starting Starman?
in thread When does it make sense to preload modules when starting Starman?

> > "... modules take a long time to initialize..."

> It is really difficult to find answers for these questions.

Is it? To benchmark initialization, measure time in BEGIN, CHECK and INIT blocks.

From what I heard is Moose a good candidate.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: When does it make sense to preload modules when starting Starman?

Replies are listed 'Best First'.
Re^4: When does it make sense to preload modules when starting Starman?
by karlgoethebier (Abbot) on Oct 28, 2021 at 13:56 UTC
    "...From what I heard...Moose..."

    I do not plan no more to go for another mysterious traveller. Once upon a time i gave it a try and abandoned all hope afterwards as hostile takeover was my first impression. Your mileage may vary. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

        Yes, thanks. I totally misunderstood you. Sorry. Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

      >hostile takeover

      You mean you don't like code that's 99% declarations and relies on 7 more levels of implicit occult behavior that's impossible to debug for a traditional Perl programmer? Moose is basically what mod_perlN is to Apache, except as applied back onto innocent Perl.

        "You mean..."

        Yeah. Something like that. Regards, Karl

        «The Crux of the Biscuit is the Apostrophe»

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found