in reply to accessing the result of a match as an array

pop requires array as first argument, it won't work with lists or anything else. As a solution I can suggest the following:

perl -we 'print "hello awesome" =~ /(?:el).*(om)/;'