perl 5.8.9 compatibility
v0.005