Data-Random-String-Matches
view release on metacpan or search on metacpan
use File::Temp qw(tempfile);
use Test::Most;
# Check if bin/random-string exists
my $cli = 'bin/random-string';
unless (-f $cli) {
plan skip_all => "CLI script not found at $cli";
}
# Make sure it's executable
chmod 0755, $cli;
sub run_cli {
my @args = @_;
my ($out, $err);
eval {
run3([$^X, $cli, @args], \undef, \$out, \$err);
};
return {
( run in 0.921 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )