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

$@ = "Hello";
ok(Imager->preload, "preload doesn't die");
is($@, "Hello", "check \$@ was preserved");