IO-Trace

 view release on metacpan or  search on metacpan

lib/IO/Trace.pm  view on Meta::CPAN


sub new {
    my $self = shift;
    my $args = shift || {};
    return bless $args, $self;
}

sub parse_commandline {
    my $self = shift;
    Configure(qw[require_order bundling]);
    local @ARGV = @_;
    my $ret = GetOptions
        "V"     => \($self->{version} = 0),
        "o=s"   => \($self->{output_log_file}),
        "v+"    => \($self->{verbose} = 0),
        "x+"    => \($self->{heX_ify} = 0),
        "t+"    => \($self->{timing} = 0),
        "f+"    => \($self->{follow_fork} = 0),
        "q+"    => \($self->{quiet} = 0), # Ignored
        "s=i"   => \($self->{size_of_strings}), # Ignored
        "e=s"   => \($self->{events}),  # Ignored



( run in 0.727 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )