Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If you think it's a memory issue, is there way we can overcome it, using the script only. The script works perfectly if the number of elements which needs to be stored in the array, is less than 82.@realms=$domain->GetAllRealms(); $i=0; $realmSize=@realms; print fileWrite "\nSize of the Realm array is " . $realmSize; #Show +s size 82, should be 272 foreach $realm(@realms) { print fileWrite "\nRealm Name is" . $realm->Name(); #Prints 82 times }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Array not able to store all realm objects
by LanX (Saint) on Aug 10, 2018 at 12:33 UTC | |
|
Re: Perl Array not able to store all realm objects
by haj (Vicar) on Aug 10, 2018 at 12:34 UTC | |
|
Re: Perl Array not able to store all realm objects
by Eily (Monsignor) on Aug 10, 2018 at 12:33 UTC |