Here's a sample of the code in question (assume the appropriate pragmas for type constraints):
has 'locations' => ( traits => ['Hash'], is => 'ro', isa => 'HashRef[Location]', handles => { add_loc => 'set', del_loc => 'delete', get_loc => 'get', loc_keys => 'keys', loc_vals => 'values', no_locs => 'is_empty', loc_count => 'count', loc_pairs => 'kv', }, ); has 'regions' => ( traits => ['Hash'], is => 'ro', isa => 'HashRef[Region]', handles => { add_region => 'set', del_region => 'delete', get_region => 'get', region_keys => 'keys', region_vals => 'values', no_regions => 'is_empty', region_count => 'count', region_pairs => 'kv', }, ); When I attempt to access the locations hashref or its handles from within this class, I only get an error saying that it could not find the requested hash/function. However, when I attempt to access the regions hashref/handles, it has no problems. Side note, I'm using namespace::sweep if that makes a difference. On Mon, Jun 24, 2013 at 11:46 PM, Chris Weyl <cw...@alumni.drew.edu> wrote: > On Mon, 24 Jun 2013, Faelin McCaley Landy wrote: > > Moose, you do confound me so! Any ideas, guys? >> > > Not without seeing some of the code in question :) > > -Chris > >
Namespace.pm
Description: Binary data