The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -w
use strict;
use Test::More tests => 4;

require_ok( 'Tie::Hash::Constant' );
tie my %foo, 'Tie::Hash::Constant' => 'pie';
ok( tied %foo, "foo is tied" );
is( $foo{noexist}, 'pie', 'noexist got pie' );
$foo{notpie} = 'notpie';
is( $foo{notpie}, 'pie', 'notpie got pie' );