Show
Ignore:
Timestamp:
11/16/07 16:44:31 (14 months ago)
Author:
nyarla
Message:

lang/perl/Class-Hookable: Slight adjustment of Class/Hookable.pm

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Class-Hookable/trunk/lib/Class/Hookable.pm

    r1612 r1649  
    164164sub context { 
    165165    my $self = shift; 
     166 
     167    if ( ref $self->{'Class::Hookable'} ne 'HASH' ) { 
     168        $self->{'Class::Hookable'} = { 
     169            hooks => {}, 
     170        }; 
     171    } 
    166172 
    167173    if ( @_ ) { 
     
    437443 
    438444This library is free software; you can redistribute it and/or modify 
    439 it under the same terms as Perl itself. 
    440  
    441 =head1 SEE ALSO 
     445it under the same terms as Perl itse 
    442446 
    443447=cut