Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (10 sloc) 0.31 kB
my $fsw = CLR::<System.IO.FileSystemWatcher,System,PublicKeyToken=b77a5c561934e089>.new;
$fsw.Path = '.';
sub handler($, $event) {
say "$event.ChangeType() ($event.Name())";
}
$fsw.add_Changed(&handler);
$fsw.add_Deleted(&handler);
$fsw.add_Created(&handler);
$fsw.EnableRaisingEvents = True;
+lines;
Jump to Line
Something went wrong with that request. Please try again.