Archive for the 'Perl' Category

Google Adwords API Guru

Tuesday, February 19th, 2008

Would like to send out my thanks to the Google Adwords API team for selecting me as an Adwords API Guru, specifically geared towards the Adwords API group on Google Groups.
I guess this is because I maintain the Perl library Google::Adwords which you can find on CPAN.
Time to brush up on my Adwords API knowledge!
[…]

WWW::RapidShare is a time saver

Wednesday, February 13th, 2008

I uploaded WWW::RapidShare version 0.1 to CPAN today. WWW::RapidShare is a Perl module which you can use to download files from rapidshare.com. Currently, only premium accounts are supported. More features coming soon!
Here’s a simple Perl script to download a file. You need to know the entire URL and of course your Rapidshare account ID and […]

CPAN Perl modules as RPMs v/s PAR

Monday, December 24th, 2007

After sweating for three days converting a huge number of Perl CPAN modules into RPMs, I finally decided to go the PAR way. I’m trying to get a nice overview of all the Perl CPAN modules required for most of my web applications. This is currently for my product imsense which is an IM […]

The BLOCK directive in Template Toolkit

Monday, December 10th, 2007

The BLOCK directive in Template Toolkit is a cool way of repeating short text, rather than creating a new template file.
You know how we like to separate our menu entries on our website with a |.

<a href=”/features”>FEATURES</a> |
<a href=”/screenshots”>SCREENSHOTS</a> |
<a href=”/contact_us”>CONTACT US</a>

I might […]

Perl module Google::Adwords v1.3.1

Wednesday, July 11th, 2007

I released v1.3.1 of the Google::Adwords Perl module.
What is Google::Adwords ?
This is a collection of Perl modules that provide an easy to use object oriented interface to the Google Adwords SOAP API. You don’t need to understand SOAP or web services to use this module.
Changes since v1.2.3:

Default API version is now v9
Removed the inPST parameter […]

perldoc tips

Friday, June 8th, 2007

Have you ever wanted to know where a Perl module lives on your file system?

Use

$ perldoc -l Module

For example, on my Linux box,

$ perldoc -l Data::Dumper
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/Data/Dumper.pm

If you want to view the source code of the module, do,

$ perldoc -m Data::Dumper

Tweet This Post  Facebook 

Get at the raw xml behind an XML::XPath object

Monday, May 28th, 2007

XML::XPath is a cool module which gives you access to your XML using XPath

However, once you have your XML::XPath object (which you’ve received from some subroutine, for example), I couldn’t find a documented way of accessing the raw XML. Maybe I haven’t looked deep enough, but the below hack works fine for me.

my $xp […]

Perl module Google::Adwords v1.2.2 released

Sunday, April 15th, 2007

I released v1.2.2 of the Google::Adwords Perl module.
What is Google::Adwords ?
This is a collection of Perl modules that provide an easy to use object oriented interface to the Google Adwords SOAP API. You don’t need to understand SOAP or web services to use this module.
This is an example which shows how you can retrieve this […]


Tweet This Post links powered by Tweet This v1.4.1, a WordPress plugin for Twitter.