forks and threads (was: Re: META.yml how to declare the need for threaded perl?)

2008-11-05 Thread Dr.Ruud
Christopher Brown schreef: I spent some time thinking about Dr. Ruud's reply over the past several days. Although I mostly share his views, I think that he has done a disservice to the discussion of the relative merits of threading and forking . Like most things in technology different

Re: Integrating license related things of CPAN

2008-11-03 Thread Dr.Ruud
Ricardo SIGNES schreef: * Ken Williams [EMAIL PROTECTED] [2008-11-03T09:49:01] What I would like to do next is make it more of a pure pass-through, so that anything S::L knows about can be fed to M::B. That might depend on having a registry in S::L, or it might mean an author could specify

Re: META.yml how to declare the need for threaded perl?

2008-11-03 Thread Dr.Ruud
David Cantrell schreef: eval use threads || exit(0); Alternatively written as: exit(0) unless eval use threads; (just because I wondered how strong the || was in there) -- Affijn, Ruud Gewoon is een tijger.

Re: META.yml how to declare the need for threaded perl?

2008-11-01 Thread Dr.Ruud
Gabor Szabo schreef: I guess we can implement everything with fork but I think - maybe because of my lack of experience in threads - that it will be better to use them than to fork. I think it was Randal Schwartz who said something like: If the answer involves threads, then the question was

Re: The value of threads

2008-11-01 Thread Dr.Ruud
Chris Dolan schreef: Dr.Ruud: Gabor Szabo: I guess we can implement everything with fork but I think - maybe because of my lack of experience in threads - that it will be better to use them than to fork. I think it was Randal Schwartz who said something like: If the answer involves

Re: Integrating license related things of CPAN

2008-10-26 Thread Dr.Ruud
Gabor Szabo schreef: I am trying to push forward simplifying and clarifying the licensing issues on CPAN. It would be nice to have a license pragma. use license Perl; use license AL/GPL; use license qw{ Artistic_2 (and_up) GPL_3 (and_up) }; We already have

Re: Integrating license related things of CPAN

2008-10-26 Thread Dr.Ruud
Ricardo SIGNES schreef: Dr.Ruud: Gabor Szabo: I am trying to push forward simplifying and clarifying the licensing issues on CPAN. It would be nice to have a license pragma. use license Perl; What would this do? That's up to the creator of the license pragma, but it would most

Re: Date::Piece months and weeks

2008-01-05 Thread Dr.Ruud
David Cantrell schreef: Right now, this Monday is 2008-01-07. It can be 2007-12-31 too, compare I went to town this Monday to I go to town this Monday. Taste also afternoon in stead of Monday. Natural languages are full of this. :-) -- Affijn, Ruud Gewoon is een tijger.

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-12-08 Thread Dr.Ruud
A. Pagaltzis schreef: Most of the modules that give me the heebie jeebies just never took off; I never had to install IO::All or Spiffy, say. I love those, so I am unable to understand any objections. -- Affijn, Ruud Gewoon is een tijger.

Re: relative.pm

2007-10-06 Thread Dr.Ruud
Sébastien Aperghis-Tramoni schreef: package BigApp::Report; These would also be nice: package BigApp::__FROMFILE__; package BigApp::__FROMFILE__($RCSfile); -- Affijn, Ruud Gewoon is een tijger.

Re: peer review for first CPAN module? (JavaScript minification)

2007-05-25 Thread Dr.Ruud
Joshua ben Jore schreef: Adriano Ferreira: Peter Michaux: I'm writing a new version of JavaScript::Minification on CPAN. This is my first CPAN module and first Perl project! If someone is willing to take a look to see if I've done something terribly wrong packaging the code I would greatly

Re: peer review for first CPAN module? (JavaScript minification)

2007-05-25 Thread Dr.Ruud
Joshua ben Jore schreef: Dr.Ruud: I see basically 3 steps: 1. respect strings 2. remove comments 3. compress everything else You may want want to convert from UTF16 to perl native strings, then convert back. JavaScript is defined as being stored in UTF16 but that's kind of unusual

Re: (Create a new ?) namespace for applications on CPAN

2007-05-18 Thread Dr.Ruud
Andy Lester schreef: Dave Rolsky: ?: What's with all these ad hoc appending of x, like DBIx and RTx? Maybe the componenty parts should be Appx::* ? Well, DBIx is actually something Tim Bunce requested, since he didn't want people adding stuff to the DBI hierarchy. For Mason extensions, we

Re: Net::DNS

2007-04-20 Thread Dr.Ruud
A. Pagaltzis schreef: Dr.Ruud: On a Linux system: cpan2rpm etc. rpm -i /usr/src/redhat/RPMS/i386/perl-Net-DNS-0.59-1.i386.rpm error: Failed dependencies: perl(Win32::Registry) is needed by perl-Net-DNS-0.59-1 (still investigating) this is a list for discussion of issues and concerns

Re: supporting older perls

2007-03-05 Thread Dr.Ruud
Keith Ivey schreef: Dr.Ruud: Greg Matheson: A. Pagaltzis: Write the same thing without syntactic sugar from constant.pm. sub C1 () { 'C1' } Mmh. I see constant.pm does very little. Well, it nicely sets things up for the compiler to optimize. perl -MO=Deparse -e 'use constant

Re: supporting older perls

2007-03-04 Thread Dr.Ruud
Greg Matheson schreef: A. Pagaltzis: Write the same thing without syntactic sugar from constant.pm. sub C1 () { 'C1' } Mmh. I see constant.pm does very little. Well, it nicely sets things up for the compiler to optimize. perl -MO=Deparse -e 'use constant PI = 3.1415; print PI'

Re: Package::Unicorn

2007-02-18 Thread Dr.Ruud
A. Pagaltzis schreef: (If I had a nickel for every time I've wished Perl had an s///-like function that returned a modified copy instead of modifying the original string in place.) Often this is good enough: (my $new = $old) =~ s/from/to/; But if $old is several GBs large, and the s///

Re: Delete hate speech module

2007-02-08 Thread Dr.Ruud
Tim Maher schreef: I'm generally against the idea of censorship in all its forms This has nothing to do with censorship. Somebody is dropping garbage in our yard. If that person just wants to cause trouble and doesn't remove it, luckily somebody else will be so good. -- Affijn, Ruud Gewoon