Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by davorg (Chancellor)
on Jul 21, 2009 at 22:13 UTC ( #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
Node Status?
node history
Node Type: note [id://782104]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-12-26 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls