DDG::ZeroClickInfo::Spice::Data - Data that gets delivered additional to the spice call into the Javascript of the HTML
version 1016
Inside your spice handler
return $path_part_one, $path_part_two, data( key => "value", more_key => "more value", most_key => "most value - buy now!", );
Needs a hashref of the data you want to access inside the javascript.
Integrates the given DDG::ZeroClickInfo::Spice::Data into data object. The newer one always overrides variables already set.
DuckDuckGo <open@duckduckgo.com>
This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install DDG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DDG
CPAN shell
perl -MCPAN -e shell install DDG
For more information on module installation, please visit the detailed CPAN module installation guide.