It is not closing off with a brace where a paren is required. The Brace is closing the Begin
The paren is closing this: our @EXPORT_OK = qw(
use vars qw($VERSION @ISA @EXPORT);
@ISA = qw(Exporter);
# exported functions
our @EXPORT_OK = qw(
$VERSION = '0.0.1';
I also changed $LoggedOn_user_id to a function call &GetLoggedOn_user_id
to deliver the number to the other module and it still does not work.
And yes it compiles then and now.
Your comments and those of some others are very discouraging to one who is having fun and enjoying this resurrection. A little tolerance is in order I think.
I realize there is much stuff here that is old and discouraged but it still works.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.