Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: global var

by poj (Abbot)
on Apr 07, 2017 at 13:29 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2025-03-18 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (57 votes). Check out past polls.