use strict; use warnings; my $website_1 = 'a'; my $website_2 = 'e'; my $website_3 = 'i'; my $website_4 = 'o'; my $website_5 = 'u'; for (my $x = 1; $x <= 5; $x++) { print eval "\$website_$x"; }