Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
import
  • Loading branch information
stmuk committed Aug 26, 2015
1 parent 873efab commit 20adca9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions categories/cookbook/16processes/16-13-listing-signals.pl
@@ -0,0 +1,19 @@
use v6;

=begin pod
=TITLE List Signals
=AUTHOR stmuk
You want to list the signals available on a UNIX-like OS
=end pod

# shamelessly stolen from a test
#
my @signals = $*KERNEL.signals.grep(Signal);

say :@signals.perl;

# vim: expandtab shiftwidth=4 ft=perl6

0 comments on commit 20adca9

Please sign in to comment.