60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator Sat Jan 28 16:30:53 2023 2023-01-29 03:30:53 20230128163053 Anonymous Monk http://perlmonks.org/ 961 rss,clean Sat Jan 28 16:30:53 2023 PerlMonks 30 Why don't some CPAN modules append perllocal? Anonymous Monk http://perlmonks.org/index.pl?node_id=11150003 perl -MExtUtils::Installed -le '$_=ExtUtils::Installed->new->modules;print' 1650 perl -le '@_=grep/Module/,split/\n/,`perldoc -uT perllocal`;print scalar@_' 1472 ... perlquestion Sun, 29 Jan 2023 02:15:43 +0000 http://perlmonks.org/index.pl?node_id=11150003 11150003 961 2023-01-28 21:15:43 Anonymous Monk What to test in a new module Bod http://perlmonks.org/index.pl?node_id=11149996 I've created a helper function for my own purposes and thought it would be useful to others. So CPAN seems a sensible place to put it so others can use it if th... perlquestion Sat, 28 Jan 2023 22:16:41 +0000 http://perlmonks.org/index.pl?node_id=11149996 11149996 11123653 2023-01-28 17:16:41 Bod Re^2: What to test in a new module Anonymous Monk http://perlmonks.org/index.pl?node_id=11150004 > write the tests first How are you supposed to write the tests before you write the code? What is being tested if there is no code? I searched for examples of this technique but could o... note Sun, 29 Jan 2023 02:50:06 +0000 http://perlmonks.org/index.pl?node_id=11150004 11150004 961 2023-01-28 21:50:06 Anonymous Monk Re: What to test in a new module eyepopslikeamosquito http://perlmonks.org/index.pl?node_id=11150002 I've created a helper function for my own purposes and thought it would be useful to others ... As the Monastery has taught me that all published modules should have tests, I... note Sun, 29 Jan 2023 01:48:33 +0000 http://perlmonks.org/index.pl?node_id=11150002 11150002 176576 2023-01-28 20:48:33 eyepopslikeamosquito Re: What to test in a new module kcott http://perlmonks.org/index.pl?node_id=11150001 G'day <a href="?node_id=11123653">Bod</a>, Obviously, without seeing the module, I can only give generalised information. The following describes how I do testing. It's fairly standard but different ... note Sun, 29 Jan 2023 00:50:28 +0000 http://perlmonks.org/index.pl?node_id=11150001 11150001 861371 2023-01-28 19:50:28 kcott Re^3: "symbol lookup error" message help hv http://perlmonks.org/index.pl?node_id=11150000 You could roughly define XS as a macro language - it is only a little bit more than pure C with a bunch of predefined macros. It is preprocessed by xsubpp into C, then compiled with the appr... note Sat, 28 Jan 2023 23:49:01 +0000 http://perlmonks.org/index.pl?node_id=11150000 11150000 209409 2023-01-28 18:49:01 hv Re: Any reference about %SIG eyepopslikeamosquito http://perlmonks.org/index.pl?node_id=11149999 Since you seem to be asking a fairly general question about signals, I would advise you to avoid them as much as you possibly can. As for why, this &#91;id://884156|long discussion thr... note Sat, 28 Jan 2023 23:39:32 +0000 http://perlmonks.org/index.pl?node_id=11149999 11149999 176576 2023-01-28 18:39:32 eyepopslikeamosquito Re: What to test in a new module SankoR http://perlmonks.org/index.pl?node_id=11149998 Include sample pages with the dist that your code should handle correctly. Include URIs that aren't supposed to be gathered by your code, tricky URIs, etc. When you fix bugs later, add tests that make... note Sat, 28 Jan 2023 22:44:10 +0000 http://perlmonks.org/index.pl?node_id=11149998 11149998 468064 2023-01-28 17:44:10 SankoR Re^2: Is ChatGPT worth $42 a month dmitri http://perlmonks.org/index.pl?node_id=11149997 Heh, I did not analyze the regex before posting as I should have. Nevertheless, I had ChatGPT analyze rather complex functions and it can explain what they do and how they do it pretty well. ... note Sat, 28 Jan 2023 22:18:09 +0000 http://perlmonks.org/index.pl?node_id=11149997 11149997 41527 2023-01-28 17:18:09 dmitri