Log-Log4perl-CommandLine

 view release on metacpan or  search on metacpan

t/sample.t  view on Meta::CPAN

chdir 'eg' or die "Can't chdir eg: $!";

unlink 'mylog.output';  # clean up from prior test

local $/ = "% ";   # Yeah, I know...

foreach my $sample (<sample*.pl>)
{
    (my $output = $sample) =~ s/pl$/output/;

    local @ARGV = $output;

    while (my $case = <>)
    {
        chomp $case;
        next if $case eq '';

        $case =~ s/^(.*)$//m;
        my $command = $1;

        $case =~ s/^\s*//;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.850 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )