http://qs321.pair.com?node_id=11119451


in reply to Re^2: Mojo::DOM parsing question
in thread Mojo::DOM parsing question

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.