#!/usr/bin/perl use strict; my $a="b"; my $bb; no strict 'refs'; ${"b$a"}="irgendetwas"; # <-- hier klemmts