plainblack.com
Username Password
search
Bookmark and Share

    

extra perl modules in WRE

User koen
Date 5/26/2009 2:12 am
Views 585
Rating 0    Rate [
|
]
Previous · Next
User Message
koen

What extra perl modules would you like to have in the WRE?

Since the WRE is allready 100M it would not hurt (in my opinion) to add some extra perl modules if they are 'handy' or 'practical', those few extra megabytes won't hurt.

These are currently not in there but could be:

Suggestion by Martin:
- Data::Dumper
- App::Ack

Needed for Patrick:
- Spreadsheet::WriteExcel::Simple
- File::Assets
- File::Find::Rule

What else could or should we put in?

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization



Back to Top
Rate [
|
]
 
 
koen

Another candidate is:

- XML::SAX::Writer an optional module to perl-ldap

I'll post more when I run into them.

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization



Back to Top
Rate [
|
]
 
 
roryzweistra

I think XML::Twig would be a nice one to have.
There's one problem though, the perl that comes with the WRE causes this module to leak mem. 

I believe you can find it here

 

---------------------------------------------------------------

Rory Zweistra

Oqapi Software

www.oqapi.nl



Back to Top
Rate [
|
]
 
 
koen

There's one problem though, the perl that comes with the WRE causes this module to leak mem.

The Debian apt repository for perl has a patchfile that it applies to vanilla perl 5.10.0 perhaps it is a good idea to patch the WRE perl with these patches too, but I'd like to know what our head developer thinks abou this plan. :)

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization



Back to Top
Rate [
|
]
 
 
JT

The Debian apt repository for perl has a patchfile that it applies to vanilla perl 5.10.0 perhaps it is a good idea to patch the WRE perl with these patches too, but I'd like to know what our head developer thinks abou this plan. :)

I like to keep our stuff free from patches if possible because you never know what side effects they may have. So if this memory leak only happens with that one module, and the module isn't required for the core to function, then skip the module and the patch.


JT Smithph: 703-286-2525 x810fx: 312-264-5382
Create like a god. Command like a king. Work like a slave.


Back to Top
Rate [
|
]
 
 
patspam

Needed for Patrick:
- Spreadsheet::WriteExcel::Simple
- File::Assets
- File::Find::Rule

With the exception of WriteExcel, which I'm using for Survey data exporting, I'm phasing these out of my codebase so I'm not concerned about getting these into the WRE.

I reckon one thing that would be great would be for someone to do a wiki page on all of the really useful CPAN modules that the WRE already has. Since we're already paying the memory cost for those modules, it makes sense to use them wherever possible.

I'm all for including new CPAN modules into the WRE, but only where they fill a real need, and even though memory is cheap, the less memory our moderl processes use the better IMHO.

Perhaps you can answers this one Koen - do XS modules make things a lot harder in maintaining the WRE? If not I'd be leaning towards XS modules wherever possible for the obvious performance benefit.

Patrick


Back to Top
Rate [
|
]
 
 
© 2010 Plain Black Corporation | All Rights Reserved