DEAR List Is it possible what i am looking from the following code my @merge_err=("a","b","c","d","e"); my @dup_err=("1","2","3","4","5"); my @load_err=("aa","bb","cc","dd","ee"); print "Enter Value:-[load/merge/dup]\t";
##(for the sake of simplicity I am thinking user will give input between these values)########## chomp(my $option = lc <STDIN>); my $err=$option."_"."err"; Now here lies my question Is it possible to convert $err into any of the above mentioned array/arrays according to user input? Is it possible? So that i can print the values of the above array/arrays in a foreach loop? Thanks & Regards in advance Anirban Adhikary.