in reply to Re^6: global var
in thread global var

In a former post here Re^4: global var you had this error

"$GetLoggedOnId" is not exported by the manageusers module
Can't continue after import errors at update_tables-development.cgi line 30
BEGIN failed--compilation aborted at update_tables-development.cgi line 30

and your @EXPORT_OK in manageusers was

our @EXPORT_OK = qw(
  &OpenConnection
  &OpenSession
  &ProcessLoginRequest
  &ProcessLostDataRequest
  &LoginUser
  &GetLoggedOnId  <<<<-------------------

I hope you understand the cause of that error now in that $GetLoggedOnId and &GetLoggedOnId are different things.

You now have the error

"LoggedOn_user_id" is not exported by the manageusers module

The questions that raises is

Have you changed $GetLoggedOnId to LoggedOn_user_id and if so have you amended both the @EXPORT_OK in manageusers and the use manageusers qw() statement in update_tables-development.cgi ?

As the error appears on line 30 perhaps you could post those first 30 lines of that script. Check the names carefully as in another post Re^6: global var you mentioned a function call &GetLoggedOn_user_id which is different again.

poj