script/perl-Net-Camera-Sercomm-ICamera2-getSnapshot.pl untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use strict;
3 use warnings;
4 use Net::Camera::Sercomm::ICamera2;
5  
6 my $syntax = "$0 [hostname]\n";
7 my $hostname = shift or die($syntax);
8 my $cam = Net::Camera::Sercomm::ICamera2->new(hostname => $hostname);
9 my $jpeg = $cam->getSnapshot;
10  
11 print $jpeg;
12  
13 __END__