X-Git-Url: http://git.tpope.net/?p=tpope-extra.git;a=blobdiff_plain;f=perl%2Fmobile-phone-monitor;h=dbc549f08d54b6a06f8823e070ea76f9ea4c1811;hp=5c7065f5c0f36ea8752cc0ba3490eb92a022c787;hb=a22a62d098eae8c3e9c1dc04408e6d85e894aed9;hpb=a714f06d8fc5a8b1f1e5f2c469c194f96985fb67 diff --git a/perl/mobile-phone-monitor b/perl/mobile-phone-monitor index 5c7065f..dbc549f 100755 --- a/perl/mobile-phone-monitor +++ b/perl/mobile-phone-monitor @@ -51,7 +51,6 @@ while($status{"is_active"} ne 0) { } elsif(!defined($number)) { $status{"is_active"}=0; last; }; } my %newstatus=gather_data($gsm); - print $newstatus{'call'}." ".$status{'call'}."\n"; ring() if($newstatus{"call"}!=0 && $status{"call"}==0 && !$status{"number"}); foreach (keys %newstatus) { $status{$_} = $newstatus{$_} if(defined ($newstatus{$_}));