The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl

use uni::perl;
use Test::More tests => 3;
use Test::NoWarnings;
use lib::abs '../lib';
use Variable::Eject;

my $hash = { scalar => 'scalar value' };

eject( $hash => ${scalar} );

is $scalar, 'scalar value', 'scalar ejected';
$scalar .= ' modified';

is_deeply $hash, {
	scalar => 'scalar value modified',
}, 'original modified';