
my $interval = Clutter::Interval->new('Glib::Int', 0, 11);
my $value = $interval->compute_value(0.5);

Clutter::Interval is a simple object providing a strongly-typed storage for a interval between two values.
Note: Once a Clutter::Interval for a specific type has been instantiated the Clutter::Interval value-type property cannot be changed anymore.
Clutter::Interval is used by #ClutterAnimation to define the interval of values that an implicit animation should tween over.
Note: Currently, you cannot subclass a Clutter::Interval to override the interval validation and the value computation; this requires additional support inside the Glib Perl bindings that is not currently available.