3 ms·
I did the same with Perl in 10 minutes: https://git.io/vzKDs https://git.io/vzKDs it was fun I will check it tomorrow when I'm back from the pub
by latenightcoding 11y ago
I did the same with Perl in 10 minutes: https://git.io/vzKDs https://git.io/vzKDs
it was fun I will check it tomorrow when I'm back from the pub
- patcon 11y agoA man from Toronto writing a 10-minute perl module from a pub? This sounds like a Wheat Sheaf sort of affair.
- viraptor 11y agoIs there any practical difference between that and just a normal new() function returning a hash based on that json? Does bless change anything? I mean, for "the same" I'd expect something like: .... use test say test->hello; say test->this->could->be->a->bad;
- latenightcoding 11y agoOk, back from the pub and fixed it you can now use it like this: use BlessJSON qw(test.json); say test->hello; say test->this->could->be->a->bad; close enough