say "Please enter 3 string variables, :" . "(Please crtl-D after entering strings)\n "; @lines = ; say 'Here ' . @lines; chomp(@lines); @backwards = reverse(@lines); say "Here are the values in reverse order:" . @backwards; #### Please enter 3 string variables, :(Please crtl-D after entering strings) aaa bbb ccc Here 3 Here are the values in reverse order:3