GraphQL::Execution - Execute GraphQL queries
use GraphQL::Execution; my $result = GraphQL::Execution->execute($schema, $doc, $root_value);
Executes a GraphQL query, returns results.
my $result = GraphQL::Execution->execute( $schema, $doc, $root_value, $context_value, $variable_values, $operation_name, $field_resolver, );
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.