I don't know exactly what the problem is, but stopped as soon as I saw this:
@EXPORT = qw( $LoggedOn_user_id $VERSION = '0.0.1'; }
There is all manner of wrong with that. Add use strict; and use warnings; to that code.
Lastly, use @EXPORT_OK instead of @EXPORT wherever possible, so you don't pollute other namespaces needlessly.
In reply to Re: global var
by stevieb
in thread global var
by tultalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |