GraphQL::Debug - debug GraphQL
use GraphQL::Debug qw(_debug); use constant DEBUG => $ENV{GRAPHQL_DEBUG}; DEBUG and _debug('current_function', $value1, $value2);
Creates debugging output when called. Intended to have its calls optimised out when debugging not sought, using the construct shown above. The values given will be passed through "Dumper" in Data::Dumper.
To install GraphQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GraphQL
CPAN shell
perl -MCPAN -e shell install GraphQL
For more information on module installation, please visit the detailed CPAN module installation guide.