Plagger/Plugin/Notify/OpenBrowser/linux.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
open
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Plagger::Plugin::Notify::OpenBrowser::linux;
2 use base qw( Plagger::Plugin::Notify::OpenBrowser );
3  
4 use strict;
5  
6 sub open {
7 my ($self, $link) = @_;
8 !system 'firefox', '-new-tab', $link
9 or $self->log(error => "Can't exec firefox: $?");
10 }
11  
12 1;