Welcome to the monastery! :)
Please try to word out real questions instead of mumbling stuff in comments.
I'm not sure what your problem is, "empty field" in Perl is undef not an empty string and it has to be explicitly inserted.
A regex solution on pseudo-code is doomed to fail and will byte you in form of an ugly, hard to track bug.
In reply to Re: Perl reference array
by LanX
in thread Perl reference array
by teun-arno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |