Re: What's the safest @*ARGS form? (...was Re: Any other way to do this)

2020-09-09 Thread William Michels via perl6-users
Replying to my own question here, The feedback I received at our latest Raku Meetup suggested that pulling in numeric data off the bash command line is okay--just as long as you know what you're doing. In the second example below, Raku will convert "1_000" to Rat 1000 (previously mentioned in last

What's the safest @*ARGS form? (...was Re: Any other way to do this)

2020-09-01 Thread William Michels via perl6-users
On Tue, Sep 1, 2020 at 8:27 AM Brian Duggan wrote: > > On Monday, August 31, Bruce Gray wrote: > > I finally settled on using `try` instead of numeric coercion, because > > if I am not golfing, I think `try` makes the grep look more like > > “filter out the non-numbers” instead of “get rid of the