Skip to content

Instantly share code, notes, and snippets.

@kylejohnson
Created November 20, 2013 20:14
Show Gist options
  • Select an option

  • Save kylejohnson/7570204 to your computer and use it in GitHub Desktop.

Select an option

Save kylejohnson/7570204 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use strict;
use warnings;
use ZoneMinder;
my $status = zmIsAlarmed( 1 );
print $status;
root@zoneminder:~# perl alarm.pl
Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/local/lib/perl/5.14.2/ZoneMinder/Memory/Mapped.pm line 81.
root@zoneminder:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment