03:55
frost joined
04:26
guifa__ joined,
guifa left
04:30
frost left
05:05
frost joined
05:55
frost left
09:01
dakkar joined
10:03
lizmat left
10:04
lizmat joined
15:27
frost joined
16:00
frost left
17:34
dakkar left
18:08
guifa__ left
|
|||
m_athias | good evening! | 18:20 | |
is there some way to create objects from 'dynamic' class names? as in "my $class = 'Bar'; "Foo::$class".new();". | 18:22 | ||
18:24
discord-raku-bot left,
discord-raku-bot joined
18:29
discord-raku-bot left,
discord-raku-bot joined
|
|||
lizmat | m: my $a = 'Date"; dd ::($a) | 18:41 | |
camelia | ===SORRY!=== Error while compiling <tmp> Unable to parse expression in single quotes; couldn't find final "'" (corresponding starter was at line 1) at <tmp>:1 ------> my $a = 'Date"; dd ::($a)⏏<EOL> expecting any of: … |
||
lizmat | m: my $a = "Date"; dd ::($a) | ||
camelia | Date | ||
lizmat | m: my $a = "Date"; dd ::($a).today | ||
camelia | Date.new(2022,1,27) | ||
lizmat | m_athias ^^ | ||
m_athias | ah thanks! just found Foo::{$bar} also works. | 18:52 |