Antsy
view release on metacpan or search on metacpan
lib/Antsy.pm view on Meta::CPAN
[ qw( cursor next_line E ) ],
[ qw( cursor previous_line F ) ],
[ qw( cursor up A ) ],
[ qw( scroll down T ) ],
[ qw( scroll up S ) ],
);
foreach my $group ( @groups ) {
no strict 'refs';
my( $export_tag, $fragment, $command ) = @$group;
my $name = join '_', $export_tag, $fragment;
*{$name} = sub ( $n ) {
$n = $n =~ /\A([0-9]+)\z/ ? $1 : 0;
_seq( $command, $n );
};
_export( $name, $export_tag );
}
}
( run in 2.386 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )