First script with main function


examples/hello_world_main.pl
#!/usr/bin/env perl
use v5.10;
use strict;
use warnings;


sub main {
    say 'Hello World';
}

main();