|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re^2: What is Perl way to simultaneously assign to three separate arrays?by CoVAX (Beadle) |
| on Feb 15, 2015 at 04:41 UTC ( [id://1116755]=note: print w/replies, xml ) | Need Help?? |
|
Thank you for your comments, esp. named captures and proper use of dump. When I run the code, the array ends up having nine separate scalar elements instead of three references to anonymous arrays containing three scalar elements each Here's what I'm currently getting:
Here's what I want:
How is this possible given the constraint that the entire HTML content is a scalar (obtained via LWP)? (I realize I can "post-process" the @projects array but I'd like to know if everything can be done in a single assignment without any munging afterward.)
Searched for donut and crumpit. Found donate and stumbit instead.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||