What is Nostr?
Gene Boggs /
npub1670…nlt6
2024-11-25 07:40:45

Gene Boggs on Nostr: nprofile1q…cuetd I'm using your excellent ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqjzjhxmxecmau4phynps3mndxwds7z23qh3a2w5r0ry8p7hevdc5q7cuetd (nprofile…uetd) I'm using your excellent https://metacpan.org/pod/Games::Dice::Advanced module, but would like my dice to return non-integer things (like musical notes). There is repo to PR, so here's a diff:

```
151c151,152
< $self = sub { $mul * &{$recipe} };
---
> my $r = &{$recipe};
> $self = $r =~ /^\d+$/ ? sub { $mul * $r } : sub { $r };
```

Something like that, maybe? :)
Author Public Key
npub16703wfe273mhdzhpennmtst2ps0g9s92z2jr7767mx0mzawkrvxqk4nlt6