WebService::Raygun::Message::Environment - Represent the Environment data in a raygun request.
use WebService::Raygun::Message::Environment; my $environment = WebService::Raygun::Message::Environment->new( processor_count => 2, cpu => 34, architecture => 'x84', total_physical_memory => 3 );
The environment data is all optional and may be left blank. This class just initialises them with empty strings or 1s or 0s depending on the context. The prepare_raygun method may be called to retreive the structure in a form that can be converted directly to JSON.
Return the data structure that will be sent to raygun.io
To install WebService::Raygun, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Raygun
CPAN shell
perl -MCPAN -e shell install WebService::Raygun
For more information on module installation, please visit the detailed CPAN module installation guide.