The stupid question is the question not asked | |
PerlMonks |
Re^3: Mojo::DOM parsing questionby hippo (Bishop) |
on Jul 17, 2020 at 08:26 UTC ( [id://11119451]=note: print w/replies, xml ) | Need Help?? |
each returns a list but you are calling it in scalar context. Use list context as marto did and you will be fine. See also: Context tutorial. but gettting an error. Don't keep it a secret. Always provide the full text of the error message.
In Section
Seekers of Perl Wisdom
|
|