Category Devel

Perl Binary

Raskas asked me a question about the creation off a binary Perl script.

The goal of this was to run a Perl script on a machine where Perl is not installed.

perlcc should be our friend... but some dependencies were still giving troubles, so I tried to find another solution, here is a summary of my small research :

first, the Perl script's source (Copyright fred... but in GPL !) :

Bad day for PHP programming

Desperate PHP developer... that's what I am today... why ?

Due to an ugly PHP bug with PHP provided with FC6 (maybe on other distributions too). I already spent some time to find that it was a bug, previously I was using sqlite with the sqlite PHP functions, but since I use the FC6, to have the support of sqlite, PDO must be used... so I did !

Jabber and PHP

After a chat with a colleague trying to code in python because he wanted to implement some Jabber application I decided to search some PHP solution.

I've found class.jabber.php from Nathan Fritz.

It's very easy to implement and fun to play with, I've put a sample here.

Have fun with it ;-)

PHP : Objects and XML

Just some nice example to show how to create an XML output from an object. And also create an object from an XML source.

Do be able to run those example, you must install the PEAR packages called XML/Serializer.

First example, creation of the XML output:

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.