switch to $] from $PERL_VERSION for perl 5.8 support