Sample Perl utilities and XS lib for 'old & dusty' electricity flows management project