Camelia, the Perl 6 bug

IRC log for #dbdi, 2010-06-27

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

All times shown according to UTC.

Time Nick Message
09:36 timbunce joined #dbdi
11:16 mberends joined #dbdi
15:01 timbunce joined #dbdi
15:37 mberends timbunce: I reproduced your results with mkjdbc.pl
15:40 mberends the 'recursion depth exceeded' error is designed into Parrot and I think it is set to 1000 nested subroutine calls. Parrot is continuation based, so theoretically could nest much deeper, but the arbitrary limit is there to catch probable infinite loops.
15:40 timbunce mberends: it's not a sub call recursion, it's a use-loop.
15:41 timbunce A.pm has 'use B;' and B.pm has 'use A;'.
15:41 mberends hmm, I don't know what to do about that. I suppose it is unlimited.
15:42 timbunce A workaround is to change one to forward declare the name instead of doing a 'use'.
15:42 timbunce ie "role B { ... }"
15:42 mberends sounds good
15:42 timbunce (where the ... is a literal ... not a metaphorical one :)
15:43 mberends yes, break the circular dependency. Even Role B { } might be enough, I think I used that somewhere once.
15:44 mberends (I'm not so hot on perl6-language)
15:44 timbunce cool
15:44 timbunce I'm sure you know more than me! I know almost zero perl6 at this point :)
15:45 mberends I've got some things to work, but sometimes the syntax the others dream up goes way over my head
15:50 mberends afk &
17:38 timbunce joined #dbdi
19:42 timbunce_ joined #dbdi
21:42 timbunce joined #dbdi

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