Today I decided to try and give coding a go, so I went tot he bookstore and (probably naively) picked up a copy of the book 'Learning Perl'.
Perhaps naive, but a very good pick.
Learning Perl is an excellent book.
If you feel overwhelmed, you probably don't really need Xcode, Atom and PerlBrew to get started.
If you get a sensible result from perl -v and can use any text editor (but not a word processor), then you can start. Write your script with the editor and run it under the bash prompt with a command such as:
perl my_script.pl
You can finalize your set-up later.