Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Dealing with Namesby kyle (Abbot) |
on Aug 28, 2008 at 18:57 UTC ( [id://707560]=note: print w/replies, xml ) | Need Help?? |
I think betterworld has given a pretty simple and elegant solution. Given the code you posted in Re^2: Dealing with Names, you could adapt betterworld's code like so:
The first and third lines are only there to give you the blank array elements you apparently want. I'm putting in an empty string there, but maybe you want undef. Season to taste.
In Section
Seekers of Perl Wisdom
|
|