Scalar::DDie - Defined or die.
use Scalar::DDie; say ddie($var);
Scalar::DDie checks the scalar value. If the value is not defined then it throw exception. Just return value otherwise.
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Scalar::DDie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Scalar::DDie
CPAN shell
perl -MCPAN -e shell install Scalar::DDie
For more information on module installation, please visit the detailed CPAN module installation guide.