slide rule support for Perl