Video::Delay::Const - Video::Delay class for constant delay.
use Video::Delay::Const; my $obj = Video::Delay::Const->new(%parameters); my $delay = $obj->delay;
new(%parameters)
Constructor
const
Constant delay in miliseconds. Default value is 1000.
delay()
Returns constant delay defined by 'const' parameter in miliseconds.
new(): From Class::Utils::set_params(): Unknown parameter '%s'.
use strict; use warnings; 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
Class::Utils.
Perl classes for delays between frames generation.
https://github.com/michal-josef-spacek/Video-Delay
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2012-2020 Michal Josef Špaček BSD 2-Clause License
0.07
To install Video::Delay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Video::Delay
CPAN shell
perl -MCPAN -e shell install Video::Delay
For more information on module installation, please visit the detailed CPAN module installation guide.