in reply to Re^22: global var
in thread global var
Fundamental question
module_1.pm Initializes variable A to 100. Code changes variable A to 300.
Module_2.cgi uses module_1 but since module_1 is already loaded, it is not loaded again and variable A should be visible to Module_2 as 300.
Is this correct?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^24: global var
by poj (Abbot) on Apr 23, 2017 at 20:04 UTC | |
by tultalk (Monk) on Apr 23, 2017 at 20:24 UTC | |
by hippo (Archbishop) on Apr 24, 2017 at 11:24 UTC | |
by tultalk (Monk) on Apr 24, 2017 at 15:04 UTC | |
by Anonymous Monk on Apr 24, 2017 at 15:25 UTC | |
| |
by poj (Abbot) on Apr 24, 2017 at 17:40 UTC | |
by tultalk (Monk) on Apr 24, 2017 at 19:28 UTC | |
by huck (Prior) on Apr 24, 2017 at 20:43 UTC | |
| |
by poj (Abbot) on Apr 25, 2017 at 17:50 UTC |