Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Mojo::DOM parsing question

by hippo (Chancellor)
on Jul 17, 2020 at 08:26 UTC ( #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
Node Status?
node history
Node Type: note [id://11119451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2020-10-27 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (257 votes). Check out past polls.

    Notices?