Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 making s'mores by the fire in the courtyard of the Monastery: (20)
As of 2015-07-07 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (92 votes), past polls