push @elements, $1 while /\G\s*"(.*?)"/gc || /\G\s*'(.*?)'/gc || /\G\s*(\S+)/gc; #### do_something() or die "Help!" #### push @elements, $1 while (/\G\s*"(.*?)"/gc or /\G\s*'(.*?)'/gc or /\G\s*(\S+)/gc) or die "Argh";
## do_something() or die "Help!" ##
## push @elements, $1 while (/\G\s*"(.*?)"/gc or /\G\s*'(.*?)'/gc or /\G\s*(\S+)/gc) or die "Argh";