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

This is my exact problem.

Do you mean to say that you require data values to be stored between invocations? This is (perhaps unsurprisingly) a Frequently Asked Question.

FAQ: How do I keep persistent data across program calls?

Replies are listed 'Best First'.
Re^27: global var
by tultalk (Monk) on Apr 24, 2017 at 15:04 UTC

    Yes

    User logs on and id is stored to be used later in program/other modules to perform specific actions based on users id.

      @EXPORT = qw( $LoggedOn_user_id $VERSION = '0.0.1'; }
      why u troll?

        What do you mean by this: why u troll?

        @EXPORT = qw($LoggedOn_user_id

        Is not the programmatically updated value