in reply to Computed "my" declarations?

Use a hash instead.

my %data = map { $_ => do { ... some function of $_ ... } } ('ab', 'cd', ..., 'yz');