this can be shortened to just:

    my $msguserpic;