in reply to overcoming undef as Array ref

You might want 'exists' instead of 'defined'.
exists ($exceptions{$user}) ? (join " ",@{$exceptions{$user}} : ""