types - Perl pragma for strict type checking
use types; my int $int; my float $float; $int = $float; # BOOM compile time error!
This pragma uses the optimzie module to analyze the optree and turn on compile time type checking
None.
optimize B::Generate optimizer
Arthur Bergman, <ABERGMAN@CPAN.ORG>
Copyright 2002 by Arthur Bergman
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install types, copy and paste the appropriate command in to your terminal.
cpanm
cpanm types
CPAN shell
perl -MCPAN -e shell install types
For more information on module installation, please visit the detailed CPAN module installation guide.