| Senna documentation | Contained in the Senna distribution. |
Senna::OptArg::Select - Wrapper Around sen_select_optarg
Senna::OptArg::Select->new(
mode => $mode,
similarity_threshold => $threshold,
max_interval => $max,
weight_vector => [ ... ],
func => \&func,
func_args => [ ... ],
);
| Senna documentation | Contained in the Senna distribution. |
# $Id: /mirror/Senna-Perl/lib/Senna/OptArg/Select.pm 2491 2006-07-12T18:26:24.892479Z daisuke $ # # Copyright (c) 2006 Daisuke Maki <dmaki@cpan.org> # All rights reserved. package Senna::OptArg::Select; use strict; sub new { my $class = shift; my %args = @_; $class->xs_new(@args{qw(mode similarity_threshold max_interval weight_vector func func_arg)}); } 1; __END__