q{}, as mentioned in perlop, is a single-quoted string, in this case an empty one. It's the same as saying $_ ne '', and similar to $_ !~ /^$/.
In reply to Re^3: Extracting multiple match and reorganizing order with Regex
by stevieb
in thread Extracting multiple match and reorganizing order with Regex
by NewMonk2Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |