|Think about Loose Coupling|
Using www::curlby barrycarlyon (Beadle)
|on Apr 19, 2007 at 11:54 UTC||Need Help??|
barrycarlyon has asked for the
wisdom of the Perl Monks concerning the following question:
Im trying to write a perl script, which takes data from a database, and uses curl to interact with the Twitter API in order to update my status. Using CRON to trigger it.
This is my first attempt at a non website-outputting script
So Currently i Have:
However i get:
I have downloaded and make'd WWW::Curl, and it is in the library location i have specified
Also how do i make a database connection?
As i tried including the database files, and it doesnt work, mainly becuase where the script runs, the perl libs are not installed at root, though are avaiable for access if quired for the web...
Update: forgot to mention, the system im on allows make'ing but not install'ing
Final Update - Turns out it was a dodgy install, and the paths listed done exists as the mach bits are at the directory i cant access/edit/install to. Anywho the net::twitter module does its job, i just need to cron it in, but i cant edit my crontab, as my server provider is being funny lol
Thanks for all the help :-)
Final Final Update
All working check twitter.com/lsrfm_com
Barry Carlyon email@example.com