Update of /cvsroot/openinteract/SPOPS/SPOPS/Tie
In directory usw-pr-cvs1:/tmp/cvs-serv8815/SPOPS/Tie
Modified Files:
StrictField.pm
Log Message:
lots of cosmetic changes (extra spaces, moving L<blah> to L<blah|blah> format, ...)
Index: StrictField.pm
===================================================================
RCS file: /cvsroot/openinteract/SPOPS/SPOPS/Tie/StrictField.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** StrictField.pm 2001/09/20 14:51:18 1.11
--- StrictField.pm 2001/10/11 13:09:26 1.12
***************
*** 29,33 ****
foreach my $key ( @{ $p->{field} } ) {
$FIELDS{ $base_class }->{ lc $key } = 1;
! }
}
return 1;
--- 29,33 ----
foreach my $key ( @{ $p->{field} } ) {
$FIELDS{ $base_class }->{ lc $key } = 1;
! }
}
return 1;
***************
*** 66,70 ****
return $self->SUPER::EXISTS( $key ) unless ( $self->{ IDX_CHECK_FIELDS() } );
DEBUG() && _w( 3, " tie: Checking for existence of ($key)\n" );
! if ( $FIELDS{ $self->{class} }->{ lc $key } ) {
return exists $self->{ IDX_DATA() }->{ lc $key };
}
--- 66,70 ----
return $self->SUPER::EXISTS( $key ) unless ( $self->{ IDX_CHECK_FIELDS() } );
DEBUG() && _w( 3, " tie: Checking for existence of ($key)\n" );
! if ( $FIELDS{ $self->{class} }->{ lc $key } ) {
return exists $self->{ IDX_DATA() }->{ lc $key };
}
***************
*** 112,126 ****
=head1 DESCRIPTION
! This class subclasses L<SPOPS::Tie>, adding field-checking
functionality. When you tie the hash, you also pass it a hashref of
extra information, one key of which should be 'field'. The 'field'
parameter specifies what keys may be used to access data in the
hash. This is to ensure that when you set or retrieve a property it is
! properly spelled.
If you do not specify the 'field' parameter properly, you will get
! normal L<SPOPS::Tie> functionality, which might throw a monkey wrench
! into your application since you and any users will expect the system
! to not silently accept misspelled object keys.
For instance:
--- 112,126 ----
=head1 DESCRIPTION
! This class subclasses L<SPOPS::Tie|SPOPS::Tie>, adding field-checking
functionality. When you tie the hash, you also pass it a hashref of
extra information, one key of which should be 'field'. The 'field'
parameter specifies what keys may be used to access data in the
hash. This is to ensure that when you set or retrieve a property it is
! properly spelled.
If you do not specify the 'field' parameter properly, you will get
! normal L<SPOPS::Tie|SPOPS::Tie> functionality, which might throw a
! monkey wrench into your application since you and any users will
! expect the system to not silently accept misspelled object keys.
For instance:
***************
*** 140,144 ****
=head1 SEE ALSO
! L<SPOPS::Tie>, L<perltie>
=head1 COPYRIGHT
--- 140,146 ----
=head1 SEE ALSO
! L<SPOPS::Tie|SPOPS::Tie>
!
! L<perltie|perltie>
=head1 COPYRIGHT
|