Errors messages from autodie
open my $fh, '>', $state_file;
Error saving state: Can't open '/vur/run/state.txt' for writing: 'No such file or directory' at /usr/local/bin/cups-monitor line 19
open my $fh, '>', $state_file;
Error saving state: Can't open '/vur/run/state.txt' for writing: 'No such file or directory' at /usr/local/bin/cups-monitor line 19