package Foo::Test; $URL = "http://dont.go.here.info/perl/symbolic/references/just_say_no.htm"; $x = "Foo::Test"; print ${"${x}::URL"};