Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Module Ideas, Suggestions, and Requests

by oducs (Novice)
on Jun 19, 2018 at 12:34 UTC ( [id://1216937]=perlquestion: print w/replies, xml ) Need Help??

oducs has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for new and interesting ideas for Perl modules!

The chosen modules will be uploaded to the new oducs CPAN: https://metacpan.org/author/ODUCS

If you have a module which you would like to abandon into my care, let's hear about it.

Also, I have an interest in simultaneously developing Pure-Perl and XS versions.

Appreciated, Charlie Root (perlmonks@oducs.org)
  • Comment on Module Ideas, Suggestions, and Requests

Replies are listed 'Best First'.
Re: Module Ideas, Suggestions, and Requests
by tobyink (Canon) on Jun 19, 2018 at 13:09 UTC

    You should consider using https://metacpan.org/author/ODUCS instead of search.cpan.org as the latter is being shut down in a few days.

    Random ideas that I think would make cool modules:

    • A version of Class::XSAccessor that allows you to create accessors which only accept certain types. For example, Class::XSAccessor allows you to create methods for your class along the lines of:

      # use Class::XSAccessor { getters => ['foo'] }; # is equivalent to: sub foo { my $self = shift; if (@_) { $self->{foo} = $_[0]; } $self->{foo}; } # use YourModule { getters => { bar => { isa => "HASH" } } } # is equivalent to: sub bar { my $self = shift; if (@_) { die "not a HASH" unless ref $_[0] eq "HASH"; $self->{bar} = $_[0]; } $self->{bar}; }

      Should support all of Perl's built-in reference types (HASH, ARRAY, etc) and maybe a handful of other useful types like integers, numbers, strings, blessed objects (check isa), etc.

      Happy to chat more about API design etc.

      This would be pretty useful to the Moose/Moo ecosystem.

    • An XS implementation of mkopt from Data::OptList would be cool.

    Okay, so two ideas is all I have right now.

Re: Module Ideas, Suggestions, and Requests
by choroba (Cardinal) on Jun 19, 2018 at 12:52 UTC
    You might be interested in the recent adoption request, there was another one in February.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re: Module Ideas, Suggestions, and Requests
by Your Mother (Archbishop) on Jun 19, 2018 at 16:58 UTC
Re: Module Ideas, Suggestions, and Requests
by haukex (Archbishop) on Jun 19, 2018 at 18:20 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1216937]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2024-04-18 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found