Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Mojo::DOM parsing question

by hippo (Bishop)
on Jul 17, 2020 at 08:26 UTC ( [id://11119451]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-29 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found