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

sub foo
{
    print "In foo\n";
    bar();
}

sub bar
{
    print "In baz\n";
    baz();
}

sub baz
{
    warn "This is not a warning.";

    return;
}

sub myfunc
{
    bar();
}

myfunc();