|
03:33
arkiuat left
03:45
arkiuat joined
05:09
arkiuat left
05:10
sibl joined
05:12
arkiuat joined
09:11
arkiuat left
09:15
arkiuat joined
09:16
dakkar joined
09:20
arkiuat left
09:21
arkiuat joined
09:26
arkiuat left
09:39
arkiuat joined
09:55
sibl left
|
|||
| lizmat | not sure what's going on there.... but it feels like using .substr would make more sense? | 10:28 | |
| or raku.land/zef:lizmat/String::Fields ? | |||
| anyways... I think it's because the last line is incomplete.... and the result of a pack() is a Buf, which you cannot "print" just like that (as print calls .Str, and that Buf.Str bails) | 10:36 | ||
| in the last line, either use "say" or "dd" | |||
| filling out the last line so It properly aligns, and using say or dd, makes that code pass for me | |||
|
10:42
arkiuat left
|
|||
| lizmat | yes, .gist will do that | 10:45 | |
| but I don't think that's the issue here... I think the error from unpacking an incomplete line, is the issue here (I guess the error message could use some improvement | |||
|
10:52
arkiuat joined
|
|||
| lizmat | hmmm.. looks like a golf of the issue is: dd unpack("xA*", Buf.new(0)); | 10:53 | |
| 'x' outside of Buf | 10:54 | ||
| I guess creating an issue is in place :-) | |||
| (as in: someone should do that) | 10:56 | ||
|
10:57
arkiuat left
11:25
arkiuat joined
11:30
arkiuat left
11:42
sibl joined
11:48
arkiuat joined
11:57
arkiuat left
12:20
arkiuat joined
12:24
arkiuat left
12:27
arkiuat joined
12:32
arkiuat left
12:44
arkiuat joined
13:16
sibl left
13:17
librasteve_ left,
arkiuat left
13:31
arkiuat joined
13:35
arkiuat left
13:53
arkiuat joined
13:57
arkiuat left
14:14
arkiuat joined
14:31
jgaz joined
|
|||
| jgaz | If I `my $cmd = run 'ls', '-l'; say $cmd;` it works in that I get stdout, but I get a bunch of unwanted stuff appended to the end as well. How do I just get STDOUT as a string? | 14:37 | |
| Yes, that worked. The `:out` I mostly follow, but why the `.slurp`? | 14:50 | ||
| Also, thank you. I know it's basic, but it was annoying me and I couldn't make it work. | |||
|
14:53
arkiuat left
14:54
arkiuat joined
14:59
arkiuat left,
stanrifkin joined
|
|||
| jgaz | Thanks | 15:05 | |
|
15:28
arkiuat joined
15:33
arkiuat left
15:46
arkiuat joined
15:47
librasteve_ joined
16:24
arkiuat left
16:26
arkiuat joined
17:32
dakkar left
18:27
arkiuat left
18:40
arkiuat joined
18:44
arkiuat left
19:01
arkiuat joined
19:15
arkiuat left
19:16
arkiuat joined
19:20
arkiuat left
19:22
arkiuat joined
19:27
arkiuat left
19:38
arkiuat joined
20:24
arkiuat left
21:03
stanrifkin left
|
|||