You're making this far harder than it needs to be.

#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use Net::Twitter; my $nt = Net::Twitter->new; print Dumper $nt->show_user('davorg');

You don't even need to authenticate unless you're trying to access a user who has protected their updates.

--

See the Copyright notice on my home node.

Perl training courses


In reply to Re^3: How do I use curl with perl and Twitter by davorg
in thread How do I use curl with perl and Twitter by northwestdev

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":