Remove the $ENV{PERL_CORE} boilerplate from Storable's tests.
[p5sagit/p5-mst-13.2.git] / ext / Storable / hints / hpux.pl
CommitLineData
e6a5675b 1# HP C-ANSI-C has problems in the optimizer for 5.8.x (not for 5.11.x)
2# So drop to -O1 for Storable
3
4use Config;
5
6unless ($Config{gccversion}) {
7 my $optimize = $Config{optimize};
8 $optimize =~ s/(^| )[-+]O[2-9]( |$)/$1+O1$2/ and
9 $self->{OPTIMIZE} = $optimize;
10 }