Skip Menu |

This queue is for tickets about the ArrayHashMonster CPAN distribution.

Report information
The Basics
Id: 195
Status: resolved
Priority: 0/
Queue: ArrayHashMonster

People
Owner: Nobody in particular
Requestors: captvanhalen [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: "Not a CODE reference..."
Hello Mark, jeffa here :) I recently recommend ArrayHashMonster on PerlMonks, but when i tried it out myself, i received a couple of errors: my $monster = ArrayHashMonster->new(\@arry,\%hash); print $monster->[3],"\n"; print $monster->{D},"\n"; "Not a CODE reference at ArrayHashMonster.pm (lines 32 and 36)" So, i changed lines 32 and 36 to use braces and brackets respectively instead of parens. I have a strong gut feeling that i should not have done this, but there is no synopsis example code in the documentation. Am i missing something? Tell me the answer and i will reward you with a patch containing documentation for this module. ;) Jeff Anderson
To: bug-ArrayHashMonster [...] rt.cpan.org
Cc: mjd [...] plover.com
Subject: Re: [cpan #195] "Not a CODE reference..."
Date: Wed, 23 Jan 2002 13:31:22 -0500
From: Mark-Jason Dominus <mjd [...] plover.com>
Show quoted text
> So, i changed lines 32 and 36 to use braces and brackets > respectively instead of parens. I have a strong gut feeling that i > should not have done this,
Right. Show quoted text
> but there is no synopsis example code in the documentation. Am i > missing something?
You should look in the test.pl file for examples.