Home > Archive > PERL Modules > March 2006 > Proposed module: Number::NaryPP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Proposed module: Number::NaryPP
|
|
| Jimi-Carlo Bukowski-Wills 2006-03-10, 7:55 am |
| 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?
| |
| Sisyphus 2006-03-10, 7:55 am |
|
"Jimi-Carlo Bukowski-Wills" <jimicarlo@blueyonder.co.uk> wrote in message
>
> 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 w s
ago. Have you tried it ?
Cheers,
Rob
| |
| Jimi-Carlo Bukowski-Wills 2006-03-10, 6:56 pm |
| 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!)?
| |
| Michael Greb 2006-03-10, 6:56 pm |
| On 2006-03-10, Jimi-Carlo Bukowski-Wills <jimicarlo@blueyonder.co.uk> wrote:
> 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
|
|
|
|
|