Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^7: global var

by poj (Abbot)
on Apr 07, 2017 at 13:29 UTC ( #1187397=note: print w/replies, xml ) Need Help??


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

Unit? Module? same difference, is it not?

Sorry to be so pedantic but it may be relevant to solving your problem. When you said in your post

I have global var in main unit:
@EXPORT = qw( $LoggedOn_user_id $VERSION = '0.0.1'; } our $LoggedOn_user_id;
do you mean that code is in the 'main' part of package manageusers. At the top maybe before the subroutines declaration ?

poj

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1187397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-06-20 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (94 votes). Check out past polls.

    Notices?