On May 23, Andy Roden said:

>        ($router_table{i},$router_type{i}) = split(/\|/,
>$router_tables{i});

You probably want that to be $i, not i.

>        if ($router_table{i} ne "") {
>        print SH "\"$router_table{i}\" ";
>        }

There too.

>        else {
>        print SH "\"$router_tables{$i}\" ";
>        }
>}

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
** I need a publisher for my book "Learning Perl's Regular Expressions" **

Reply via email to