Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: How do I use curl with perl and Twitter

by davorg (Chancellor)
on Jul 21, 2009 at 22:13 UTC ( [id://782104]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How do I use curl with perl and Twitter
in thread How do I use curl with perl and Twitter

This is one of those (many) places where use warnings will tell you exactly what you are doing wrong.

Not an ARRAY reference at ./twit line 13.

The value you're getting back in $result is a hash reference. You can't treat it as an array reference.

Coding without use warnings is stupid. Don't do it.

--

See the Copyright notice on my home node.

Perl training courses

  • Comment on Re^5: How do I use curl with perl and Twitter

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found