The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Full::Script - common preämble for Perl scripts

SYNOPSIS

 #!/usr/bin/env perl
 use Full::Script;
 $log->infof('Starting');
 await $loop->delay_future(after => 1);

DESCRIPTION

Loads common modules and applies language syntax and other features as described in Full::Pragmata.

The intention is to use this as the first line in every script or cron job so that we have consistent configuration and language features. It also allows us to apply new standards across the entire codebase without having to modify the code itself.

AUTHOR

Original code can be found at https://github.com/deriv-com/perl-Myriad/tree/master/lib/Myriad/Class.pm, by Deriv Group Services Ltd. DERIV@cpan.org. This version has been split out as a way to provide similar functionality.

LICENSE

Released under the same terms as Perl itself.