- or download this
use strict;
use warnings;
...
# Do stuff with it...
$file->remove or croak "Couldn't remove '$file'";
}
- or download this
/foo/bar/test.xml:1: parser error : Start tag expected, '<' not found
- or download this
$inotify->watch($drop_dir, IN_CREATE, sub {
my $e = shift;
...
process_drop_file($name);
});
});