Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

+ -

  Comment: Re:use.perl.org should live (Score 1) on 2010.08.14 18:01

by chorny on 2010.08.14 18:01 (#72314)
Attached to: use Perl;

Do I understand correctly, that Geeknet will not host it anymore? If yes and no one else wants, I may try to host it.

Read More 15 comments
Comments: 15
+ -

  Comment: use.perl.org should live (Score 1) on 2010.08.14 17:25

by chorny on 2010.08.14 17:25 (#72312)
Attached to: use Perl;

How hard would be to recreate use.perl.org on another server?

Read More 15 comments
Comments: 15
+ -

  Comment: Re:Caching doesn't need email (Score 1) on 2010.08.11 3:40

E-mail was too complex here - processing of e-mails requires much more resources than processing of CPAN reports. So requirement to drop e-mail was not invented by cpantesters - it came from cpantesters "hosting" - perl.org.

Read More 9 comments
Comments: 9
+ -

  Journal: subtypes + type strictness in Perl on 2010.08.08 15:08

Journal by chorny on 2010.08.08 15:08
User Journal
file IPType.pm

package IPType;
use Regexp::Common 2.105;
use MooseX::Types::Moose qw( Str );
use MooseX::Types -declare => [ qw(IP) ];

subtype IP, as Str, where {
       $_ =~ /\A $RE{net}{IPv4} \z/msx
}, message {
       "'$_' is not a valid IP";
};

file typed.pl

use IPType qw/IP/;
use MooseX::Lexical::Types qw/IP/;
Read More 0 comments

+ -

  Comment: code (Score 1) on 2010.08.04 4:57

Is it developed using some version control system?

Read More 3 comments
Comments: 3
+ -

  Comment: Re:Nope (Score 1) on 2010.03.12 4:03

by chorny on 2010.03.12 4:03 (#71768)
Attached to: Job queues

TheSchwartz: CPAN Testers PASS (2) FAIL (136)

Patch was available in 2008: https://rt.cpan.org/Public/Bug/Display.html?id=38570

Read More 8 comments
Comments: 8
+ -

  eumm-migrate - easy way to migrate to Module::Buil on 2009.12.29 15:35 chorny

Submitted by chorny on 2009.12.29 15:35
User Journal
Continuing celebration of Perl birthday...

ExtUtils::MakeMaker is a well known and well problematic module for installing Perl modules.

eumm-migrate is a tool I wrote to migrate from ExtUtils::MakeMaker to Module::Build. It executes Makefile.PL with fake ExtUtils::MakeMaker and rewrites all parameters for WriteMakefile into corresponding params of Module::Build->new. Calls to 'prompt' are also intercepted and corresponding 'prompt' is written to Build.PL. All other info should be ported manually.

Install App::EUMM::Migrade from CPAN and just run eumm-migrate.pl (it will be in your PATH) in directory with Makefile.PL. If you use Github, Internet connection is recommended.

eumm-migrate tries to automatically detect some properties like license, minimum Perl version required and repository used.

If someone needs it, I can also add a Module::Install writer.

P.S. If you want to just use new features of EU::MM, see eumm-upgrade.

Read More 0 comments

+ -

  Journal: eumm-migrate - easy way to migrate to Module::Build on 2009.12.29 15:35

Journal by chorny on 2009.12.29 15:35
User Journal

Continuing celebration of Perl birthday...

ExtUtils::MakeMaker is a well known and well problematic module for installing Perl modules.

Read More 0 comments

+ -

  Comment: Re:Can it do this? (Score 1) on 2009.12.18 10:12

by chorny on 2009.12.18 10:12 (#71423)
Attached to: Upgrade you Makefile.PL with eumm-upgrade
You have two solutions for this:
1. (best) Add Task::Weaken to BUILD_REQUIRES (or to PREREQ_PM if you don't use eumm-upgrade)
2. (new solution, may be better with ppm4) Depend on List::Util::XS
Read More 2 comments
Comments: 2
+ -

  Journal: Upgrade you Makefile.PL with eumm-upgrade on 2009.12.17 18:30

Journal by chorny on 2009.12.17 18:30
User Journal

I decided to celebrate Perl birthday with several new tools. First one is 'eumm-upgrade'.

It can be used to allow using new features of ExtUtils::MakeMaker without losing compatibility with older versions. BUILD_REQUIRES is the main new feature (I wrote it). It is important for ActivePerl ppm files, for META.yml and for OS packages.

Read More 2 comments
Comments: 2
+ -

  Comment: Re:It's so sad to say... (Score 1) on 2009.12.01 19:27

by chorny on 2009.12.01 19:27 (#71294)
Attached to: Why Should I Program in $Language?

It is simple to configure to run .pl as perl for Apache. But I prefer security of cgi-bin. It means that none will be able to download my non-executable files like templates or data files.

Read More 24 comments
Comments: 24
+ -

  Journal: New version of perlver on 2009.11.28 19:28

Journal by chorny on 2009.11.28 19:28
User Journal
Recently I released a new version of perlver utility. perlver and corresponding module Perl::MinimumVersion is a tool to determine minimum Perl version to run your program. New version, 1.22, should support almost all features added in Perl 5.5. I skipped features that are too complex to parse and regexes - PPI does not parse them. Also I added some features of Perl 5.6 that previously were not detected.
Read More 0 comments

+ -

  Journal: I'm in Ohloh's Top 25 Perl commits! on 2009.10.13 17:30

Journal by chorny on 2009.10.13 17:30
User Journal
I'm on the 9th place in Ohloh Top 25 Perl commits (see snapshot)! They are counted by 3 latest calendar month, currently from August.

To do this I added all repositories were I worked (more than 1 commit) to Ohloh. Github is a very convenient site to have commits with your name on it - I used it much.

Read More 0 comments

+ -

  Journal: Sci-Fi story that mentions Perl on 2009.09.12 19:38

Journal by chorny on 2009.09.12 19:38
User Journal

If you know Russian, you should read this short story: О программистах.

Read More 0 comments

+ -

  Journal: Usability improvement for Module::AutoInstall on 2009.09.06 18:21

Journal by chorny on 2009.09.06 18:21
User Journal

Many CPAN module users think that feature(s)+auto_install in Module::AutoInstall/Module::Install ask too many questions. Most prominent user of Module::AutoInstall is Plagger - it may ask up to 96+1 questions, but luckily, many will not be asked because modules are already installed or feature is platform-specific.

Read More 0 comments