[JDEV] Help with Net::Jabber problem
cwilkes-jabber at ladro.com
Thu Sep 19 10:06:13 CDT 2002
Arg! Can people on this list not top-post!? It makes for very hard
reading when the question is before the last reply.
> Chris Wilkes wrote:Chris Wilkes wrote:
> >Try this
> > use Net::Jabber qw(Client);
On Thu, Sep 19, 2002 at 10:52:04AM -0400, jdev at graham.globalcloud.net wrote:
> That resolved my initial problem. Now I get the following:
> Can't use string ("3D89E3F6") as a HASH ref while "strict refs" in use
> at /usr/lib/perl5/site_perl/5.6.0/Net/Jabber.pm line 666.
> Should I comment out "use strict" in Jabber.pm or is there something
> else wrong?
I haven't had a problem like this with my code and using Net::Jabber, so
its probably in your code. I noticed that you didn't have a "use
strict" in the original code, can you throw that in there?
The above error indicates that you're doing something wrong with a hash
in your code. If you're not sure what kind of variable you have use
Data::Dumper like this:
my $dontknow = somefunc();
and you'll get an idea what type the variable is.
More information about the JDev