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? :)
```
151c151,152
< $self = sub { $mul * &{$recipe} };
---
> my $r = &{$recipe};
> $self = $r =~ /^\d+$/ ? sub { $mul * $r } : sub { $r };
```
Something like that, maybe? :)