Click here to get back home

Proposed module: Number::NaryPP

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Proposed module: Number::NaryPP Jimi-Carlo Bukowski-Wills 03-10-2006
Posted by Jimi-Carlo Bukowski-Wills on March 10, 2006, 6:46 am
Please log in for more thread options


A self-contained (pure-perl) implementation of Number::Nary (except that
it uses Carp and strict!)

($enc,$dec) = n_codec($digits);
$encoded = &$enc($number);
$decoded = &$dec($encoded);

It basically does exactly the same thing, but without the prerequisits

I wanted Number::Nary on my machine, but couldn't install the
prerequisits (More-Utils, got reams and reams of "dereferencing pointer
to incomplete type"), so I emulated it. Do you think I should upload it
to CPAN?

Posted by Sisyphus on March 10, 2006, 7:05 am
Please log in for more thread options




>
> I wanted Number::Nary on my machine, but couldn't install the
> prerequisits (More-Utils, got reams and reams of "dereferencing pointer
> to incomplete type"), so I emulated it. Do you think I should upload it
> to CPAN?

Ummm .... my first reaction is that you'd be better off geting the
problem(s) with List::MoreUtils fixed. The author of that module is fairly
responsive - and would, I think, be willing and keen to solve any problems
you have. (There's a good chance he'll respond to your post, anyway.) The
latest version of that module (0.18) was uploaded to cpan a couple of weeks
ago. Have you tried it ?

Cheers,
Rob



Posted by Jimi-Carlo Bukowski-Wills on March 10, 2006, 6:14 pm
Please log in for more thread options


I don't think there's a problem with the module... but with my system!
I'm not sure what's wrong really... I'm running Ubuntu and everything
gets installed with packages. I'd probably have a clue if I was still
running SuSE 7.0 because I had to install everything "by hand" (pretty
much) and so I'd've known exactly what was missing from my kit!

Do you think windows users might find PP versions of modules that
include C useful?? You know, for those poor suckers who can't even
compile their own perl/modules (like me, currently!)?

Posted by Michael Greb on March 10, 2006, 7:06 pm
Please log in for more thread options


> I don't think there's a problem with the module... but with my system!
> I'm not sure what's wrong really... I'm running Ubuntu and everything
> gets installed with packages. I'd probably have a clue if I was still
> running SuSE 7.0 because I had to install everything "by hand" (pretty
> much) and so I'd've known exactly what was missing from my kit!
>
> Do you think windows users might find PP versions of modules that
> include C useful?? You know, for those poor suckers who can't even
> compile their own perl/modules (like me, currently!)?

Just a quick hint, something it took me way too long to find on my own.

sudo apt-get install dh-make-perl
dh-make-perl --build --cpan Some::CPAN::Module
sudo dpkg -i libsome-cpan-module-perl_0.00-1_all.deb

The second command there will gab a module from CPAN and build a deb.
These debs will follow the deb standards for perl module package naming
which means if there is an official deb of a newer version in the future,
apt will upgrade to it just fine.

--
Michael
michael@thegrebs.com
SpamStats: http://spam.thegrebs.com

Similar ThreadsPosted
New module proposed: XML::FOP May 25, 2005, 2:26 pm
Proposed Module: Compress::AsciiFlate March 10, 2006, 6:37 am
Proposed module: Music::ChordNamer March 14, 2006, 1:57 pm
Re: Proposed CPAN Module: Tk::Canvas::Music (renamed to Tk::Music) December 5, 2005, 2:18 am
Ask for recommended module for precise number January 22, 2006, 3:25 am
Proposed Name Space DBIx::CopyRecords December 31, 2006, 2:18 pm
Naming consultation request (proposed Geo::ReadGRIB) April 25, 2006, 2:35 pm
Request for feedback: proposed new modules to aid VHDL projects February 24, 2006, 9:49 am
XPath to Line Number? June 26, 2007, 2:39 pm
Maximum number of sockets - FD_SETSIZE September 8, 2006, 10:14 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap