> > On Wed, Jun 20, 2018 at 9:59 PM, Todd Chester <toddandma...@zoho.com > > What is a BEGIN block?
BEGIN is one of the "phasers" that are used in Perl 6 https://docs.perl6.org/language/phasers#index-entry-Phasers__BEGIN-BEGIN It marks a block of code for running as soon as possible, and if possible during compile time. It runs only once. It's in the first phase of the interpretation of a script, so it runs before any execution (or any execution phaser) takes place. Execution order is shown here: https://docs.perl6.org/language/phasers#Execution_Order Cheers -- JJ