Alien-Selenium
view release on metacpan or search on metacpan
inc/IPC/Cmd.pm view on Meta::CPAN
my $x = '';
my $tmpl = {
verbose => { default => $VERBOSE },
command => { required => 1,
allow => sub {!(ref $_[1]) or ref $_[1] eq 'ARRAY' }
},
buffer => { default => \$x },
};
my $args = check( $tmpl, \%hash, $VERBOSE )
or ( warn(loc(q[Could not validate input!])), return );
### Kludge! This enables autoflushing for each perl process we launched.
local $ENV{PERL5OPT} .= ' -MIPC::Cmd::System=autoflush=1';
my $verbose = $args->{verbose};
my $is_win98 = ($^O eq 'MSWin32' and !Win32::IsWinNT());
( run in 0.899 second using v1.01-cache-2.11-cpan-a5abf4f5562 )