New Version Of WWW::Yahoo::Movies

I’d like to announce a new version of WWW::Yahoo::Movies – Perl extension to Yahoo! movie database. I’ve added possibility to split MPAA Rating by code and description, convert movie runtime to minutes, specify timeout and user agent for HTTP request. Also, I’ve improved tests. I’m planning to add new features there like directors, writes and cast. Hope it’ll be done soon 🙂 You can get […]

Read Me Leave comment

IMDB::Film v0.15 Released

Yeasterday I released a new version of IMDB::Film – Perl extension to the IMDB movie database. Changes are not so many but they affect base fuctionality. 1) Added possibility to process stored movie HTML page. I though abount it at the beggining but after request Branislav Gerzo I realised to implement this feature. 2) Switched from LWP::UserAgent to LWP::Simple. Basically, I need just retrieve a […]

Read Me Leave comment

Playing With NuSOAP

I spent two working days to find a reason why my PHP SOAP client doesn’t connect to the Perl SOAP server. As PHP SOAP implementation I use NuSOAP. I chose it because the SOAP client is needed for SugarCRM and NuSOAP is already included there. I created client like that: require_once(‘include/nusoap/nusoap.php’); $client = new soapclient(‘http://my.proxy.host:8086’); and then I called a simple method: $result = $client->call(‘ping’, […]

Read Me 2 Comments

Passed PHP4 Brainbench Test

I some of you know Brainbench offers two weeks free access to all tests!!! It’s amazing! I’ve already passed many tests (you can see my public transcript here). One of theme was PHP4. But this certification expired last year. So, I’ve decided to pass PHP4 test again. I did it: Score: 3.93 Elapsed time: 36 min 27 sec Strong Areas: * Essentials * Functions * […]

Read Me Leave comment

Schedule tasks with Quartz

One of the important problems of big projects is scheduling and running some background tasks. Perl or PHP based applications can use abilities of operation system (crontab for OS *NIX, for example) and scripts. For Java/J2EE based projects it’s difficult to realise this possibility. One solution is to use Quartz. Quartz is opensource framework which allows to schedule jobs as many as you need. Also […]

Read Me 4 Comments

Find Files Easily with Perl

I’d like to annouce an excellant (as usual) article Find Files Easily written by Perl Guru and Hacker Randal Schwartz on Linux Magazine. Randal dives into linux command find, explains how to find files in Perl scripts using File::Find and File::Finder and shows why File::Finder is closer to the find than File::Find. I highly recomend you spend two minutes to register on Linux Magazine to […]

Read Me 8 Comments

Lean Perl From The Beggining

For people who are going to learn Perl might be interesting a new site – perlmeme.org. A funny word “meme” is defined as the unit of cultural evolution and was invented by Richard Dawkins. More details about origin “perlmeme” you can find here. The mission of that site is to help lean Perl , show some useful examples, answer for “stupid” questions. Basically, it’s a […]

Read Me 2 Comments

SugarCRM and log4php

I spent a lot of time to try to configure log4php in SugarCRM to send email if log even has level WARN, ERROR or FATAL. I made log4php configuration like that: # Log file appender …. # Email appender log4php.appender.A3=LoggerAppenderMail log4php.appender.A3.layout=LoggerPatternLayout log4php.appender.A3.layout.ConversionPattern=”[%d{d/m/Y H:i:s}] [%p] [%c] %n%n%m%n” log4php.appender.A3.to=my@email.addr log4php.appender.A3.from=crmdev@email.addr log4php.appender.A3.subject=”CRM Dev Exception!” log4php.rootLogger=WARN, A2, A3 It seemes correct but it doen’s work (file logging is working)! […]

Read Me Leave comment