<commit_before>#!/usr/bin/env perl6

use v6;
use lib '.';
use Inline::Perl5;

my $i = p5_init_perl();
say $i.run('
use 5.10.0;

sub test {
    say time;
}

print "Hello world from Perl ";
5');
print 'It is now ';
$i.call('test');

$i.DESTROY;

# vim: ft=perl6<commit_msg>Bring the inline_perl5.pl demo script up to date.<commit_after>#!/usr/bin/env perl6

use v6;
use lib 'lib';
use Inline::Perl5;

my $i = Inline::Perl5.new();
say $i.run('
use 5.10.0;

STDOUT->autoflush(1);

sub test {
    say scalar localtime;
}

print "Hello world from Perl ";
5');

print 'It is now ';
$i.call('main::test');

$i.DESTROY;

# vim: ft=perl6
{'fraction_non_alphanumeric': 0.18660287081339713, 'fraction_numerical': 0.03508771929824561, 'mean_word_length': 3.7938931297709924, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1149242', 'n_tokens_mistral': 299, 'n_tokens_neox': 282, 'n_words': 75}