in reply to NEXT statement in for loop
could probably be rewritten more clearly this way:for my $rh (@routers) { my $r = shift(@router); # ...
But it depends on whether you plan to use the @router somewhere else in your code.for my $r (@router) { # ...
Update: s/;/{/;. Thanks to Athanasius for pointing out a copy/paste error.
|
|---|