maybe like this, untested
while (<$RouterOutput>); if ($. <=3) { @Data = split /' '/, $RouterOutput; ... }
In reply to Re: Split() first 3 elements of @array
by pvaldes
in thread Split() first 3 elements of @array
by hmb104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |