sync up with CPAN version - use send instead of print to avoid weird buffering issue
Merge pull request #314 from sanbeg/cpan-1-0-2

sync up with CPAN version