tobias_hofer has asked for the wisdom of the Perl Monks concerning the following question:
The test-system itself and the test-code are using the same modules for accessing global variables.$para_return = &{ $tc_module."::".$para_init_func } ();
Now the badest. Some of these modules include each other, and modules are loaded several times.our $VERDICT = VERDICT_NONE; our @ACTUAL_ERROR_CODES = (); our %TC_PARAMETER = (); our %TC_PRJ_PARAMETER = (); our @TC_HTML_TEXT = (); our $REPEAT_TC_FLAG = 0; my $ALL_ERR_CODES = {}; my $ErrorHandler = ITF::ErrorHandler->new(); my @SYS_FAIL_ERRORS = qw( 111 112 113 100 160 ); my $current_loglevel; my $initial_loglevel; my $current_TC_ID; my %All_ZipFile_to_Handle; my %All_ZipHandle_to_File; my %Alive_Hosts; my %PUBLIC_VARS; our %EVAL_COLLECTION;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Memory usage of array and hashe variables by multiple inclusion.
by kcott (Archbishop) on Jul 02, 2013 at 11:25 UTC | |
by tobias_hofer (Friar) on Jul 02, 2013 at 11:31 UTC | |
|
Re: Memory usage of array and hashe variables by multiple inclusion.
by flexvault (Monsignor) on Jul 02, 2013 at 13:16 UTC | |
by tobias_hofer (Friar) on Jul 02, 2013 at 14:49 UTC | |
|
Re: Memory usage of array and hashe variables by multiple inclusion.
by locked_user sundialsvc4 (Abbot) on Jul 02, 2013 at 13:51 UTC |