unit class IRC::Grammar::Actions:ver<1.001001>; method TOP ($/) { $/.make: $>>.made } method message ($/) { my $pref = $/; my %args = command => ~$/; if ( $pref.defined ) { %args = ~$pref; } else { %args = $prefยป.Str; } my $p = $/; loop { if ( $p.defined ) { %args.append: ~$p; } if ( $p.defined ) { %args.append: ~$p; last; } $p = $p; } $/.make: %args; }