Emil Perhinschi

Perl modules on Bitbucket

I have put all of them under the namespace Zug:: because there are enough vanity module distributions taking up good names on CPAN. I don't have plans to release them on CPAN any time soon since all of them fill a very narrow need and there are better and more general modules to use.

build very simple but very large xlsx files without running out of RAM
Zug::Monitor::watch will take a coderef and it will execute it in a forked process and watch the size of the forked process. A soft limit and a hard limit should be provided: when each of them is crossed the corresponding callback is executed. You can provide a grace_count, that is how many iterations of the watcher can the child fork survive after crossing the hard limit.
Barely working so far, I have not yet figured out XS. It is a high level wrapper over libzip. When it will work I'll benchmark it with Zug::XLSX::Huge to see if it is faster than Archive::Zip.