Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Some how for large arrays the split seems to assign wrong values to $first and $second. Any suggestions please?@bitter = `ssh serverlist 'ls -ltr'` foreach (@bitter) { my($first,$second) = split(/=/); $bright->{$variable}{$first} = $second; $printer{$variable} = 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wrong value assigned
by thezip (Vicar) on May 01, 2007 at 21:54 UTC | |
|
Re: wrong value assigned
by GrandFather (Saint) on May 01, 2007 at 21:55 UTC | |
| |
|
Re: wrong value assigned
by friedo (Prior) on May 01, 2007 at 21:50 UTC |