The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl

use strict;
use warnings;

use Tickit;
use Tickit::Widget::ScrollBox;
use Tickit::Widget::Static;

my $scrollbox = Tickit::Widget::ScrollBox->new(
   horizontal => "on_demand",
   vertical   => "on_demand",

   child => Tickit::Widget::Static->new(
      text => join( "\n", map { "The content for line $_ " x 3 } 1 .. 50 ),
   ),
);

Tickit->new( root => $scrollbox )->run;