NAME
Video::Delay::Const - Video::Delay class for constant delay.
SYNOPSIS
use Video::Delay::Const;
my $obj = Video::Delay::Const->new(%parameters);
my $delay = $obj->delay;
METHODS
new(%parameters)
-
Constructor
const
Constant delay in miliseconds. Default value is 1000.
delay()
-
Returns constant delay defined by 'const' parameter in miliseconds.
ERRORS
new():
From Class::Utils::set_params():
Unknown parameter '%s'.
EXAMPLE
# Pragmas.
use strict;
use warnings;
# Modules.
use Video::Delay::Const;
# Object.
my $obj = Video::Delay::Const->new(
'const' => 1000,
);
# Print delay.
print $obj->delay."\n";
print $obj->delay."\n";
print $obj->delay."\n";
# Output:
# 1000
# 1000
# 1000
DEPENDENCIES
SEE ALSO
Video::Delay::Array, Video::Delay::Func.
REPOSITORY
https://github.com/tupinek/Video-Delay
AUTHOR
Michal Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
BSD 2-Clause License
VERSION
0.01