use warnings; use strict; sub foo { my @o; sub demonstration { @o }; }