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)/;'
In reply to Re: accessing the result of a match as an array
by zwon
in thread accessing the result of a match as an array
by intuited
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |