title: Perl take in multiple inputs and put into array
body: <p>I was wondering how to get multiple inputs from the same input line.
  For example, the user inputs:  1, 2, 3 . Is there a way to split them and put them into an array.</p>