http://www.perlmonks.org?node_id=998289

kurtcobain has asked for the wisdom of the Perl Monks concerning the following question:

sub Parse{ my $self = shift; my $html_code = shift; my $te = HTML::TableExtract->new( headers => [qw(Severity Advi +sory Synopsis Date)] ); my @args = (); $te->parse_file($html_code); foreach my $ts($te->tables) { foreach my $row ($ts->rows) { push(@args,("\'".join('\',\'',@$row)."\'\n")); } } return @args; }

Hi Monks, I want to run the above subroutine by passing command line arguments to it. How shd i do that. Plz help