NAME

TUI::Objects::Const - constants for object and collection components

SYNOPSIS

use TUI::Objects::Const qw(:all);

# or import specific constants
use TUI::Objects::Const qw(ccNotFound maxCollectionSize);

DESCRIPTION

TUI::Objects::Const defines constants used by the TUI::Vision object and collection infrastructure.

The constants in this module are used by collection classes and related object management code to represent special index values and size limits.

This module only defines constants. The semantic meaning and practical usage of these constants is documented in the corresponding object and collection modules, such as TCollection and TSortedCollection.

CONSTANTS

Collection index constants

Constants representing special index values used by collection classes.

These values are typically returned by search operations to indicate that an element could not be found.

Collection size limits

Constants defining maximum collection sizes.

These values are derived from platform characteristics and are used internally to limit the number of elements in collections.

EXPORT TAGS

This module provides the following export behavior:

  • Individual constants may be imported explicitly.

  • The :all tag imports all constants defined by this module.

SEE ALSO

TUI::Objects::Collection, TUI::Objects::SortedCollection

AUTHORS

  • Borland International (original Turbo Vision design)

  • J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)

COPYRIGHT AND LICENSE

Copyright (c) 1990-1994, 1997 by Borland International

Copyright (c) 2026 the "AUTHORS" as listed above.

This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).