global varby tultalk (Monk)
|on Apr 05, 2017 at 19:57 UTC||Need Help??|
tultalk has asked for the wisdom of the Perl Monks concerning the following question:
HI I have global var in main unit:
Above code works fine. $username1 from session is jala428. $num shows 428 as does $LoggedOn_user_id.
In another unit I have: use manageusers;
$userid in this unit shows 0. I have another global same main unit and pulling vatiable in another unit and works fine. Exact same method.
I did searches in all files in cgi directory after change to $userid_1:
All hits same file in question. No others. Fails with $userid_1 = 0;
Any observations/suggestions appreciated