Perl 6 - the future is here, just unevenly distributed

IRC log for #askriba, 2017-01-11

| Channels | #askriba index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
05:04 dboehmer joined #askriba
09:11 Relequestual joined #askriba
17:14 Relequestual joined #askriba
17:17 ribasushi Relequestual: on your question in https://gist.github.com/Relequestual/3d46f6b972403c046fd0502e81a6fbbb
17:18 ribasushi if the "single point of truth" are your model classes
17:18 ribasushi you can decorate them with either a role or a component ( so ->DOES vs ->isa )
17:18 ribasushi and check against that
17:18 ribasushi the role/component don't need to have any methods, it'd be for identifier purposes only
17:18 ribasushi if that is too "ugly"
17:18 Relequestual we do use components... so that's VERY interesting and possibly useful to know, thanks =]
17:19 ribasushi you can __PACKAGE__->mk_class_accessor( 'skip_during_blah_method')
17:19 ribasushi and then where you need it
17:19 ribasushi __PACKAGE__>skip_during_blah_method(1)
17:20 ribasushi your problem essentially is "how do I mark something durably at the 'target' side, instead of at the 'decide if we need to do something' side"
17:20 ribasushi above is how
17:21 ribasushi Relequestual: got to run now ( and seemingly so do you ;)
17:21 ribasushi cheers
19:28 dboehmer_ joined #askriba

| Channels | #askriba index | Today | | Search | Google Search | Plain-Text | summary