NAME

Chj::BinHexOctDec

SYNOPSIS

my $num= Chj::BinHexOctDec->bin("1001010010");
print $num->dec;

DESCRIPTION

Conversions between number bases.

The methods are overloaded both as class methods (to convert *from* that base) and object method (*to* that base).

Note: does not die on invalid input. (Should this be considered a bug?)

METHODS

dec
bin
hex
oct