TOP

Connecting to Sybase ASE with Perl’s DBI

CPAN has everything. Nearly everything and one of the modules is DBD::Sybase which connects to Microsoft SQL servers as well as Sybase ASE and iAnywhere servers, but there’s a trick. (weiterlesen …)

Weiterlesen
TOP

Session-Trouble

Why should I write about sessioning at all? A session is something which exists and should be as easy usable as possible. Is this the end of my blog post about sessioning? (weiterlesen …)

Weiterlesen
TOP

defining undef

MS-DOS basic variants had fixed default values for variables, “empty” for string variables and “0″ for numbers. DATABUS (now DB/C) variables used to have unpredictable content unless initialized with an empty value and Pascal – as far as I remember – also had default values. Perl doesn’t distinguish between text and numbers but it has a default value for all scalars: undef. (weiterlesen …)

Weiterlesen
TOP

Expensive join

How to concat an array into a string? Perl is TIMTOWTDI and I could imagine two common ways – but which one is the best? (weiterlesen …)

Weiterlesen
TOP

Age check with Perl

Kids are discriminated for being kids. They’re not allowed to smoke, drink alcohol and use various internet offers. but writing “not for kids” on a homepage barely fulfills legal and real life requirements, software has to calculate the age based on a known date of birth. (weiterlesen …)

Weiterlesen
TOP

Which ORM for Dancer and MongoDB?

I recently started my first Dancer & MongoDB project. MongoDB is my preferred database (at the moment) and Dancer is a great framework, but something is missing: I really prefer using an ORM and didn’t find anything for MongoDB which fits my needs. (weiterlesen …)

Weiterlesen
TOP

Cronjobs on the Dancer floor

Did you find a typo in the title? No? You’re right. I recently started to love the Perl Dancer Framework – and tried to write my first cronjob for a Dancer based project today. (weiterlesen …)

Weiterlesen
TOP

4,3 billion people living in France

 

Look at the title and you’re done. No need to add a text to this post if everything is said in the title. Not really? France is too small to hold half of the world’s population? No way! My computer told me that 4.294.967.296 people live in France – and computers don’t fail, you know? (weiterlesen …)

Weiterlesen
TOP

Memory backup

Some weeks ago, I wrote a post about aggregated logging by merging many “UPDATE … SET count=count+1″ SQL statements into one. But there’s a problem: All of the data stored in memory is lost if the task or server crashes or if the database dies and doesn’t come back until the task exists. Here is how I solved this problem. (weiterlesen …)

Weiterlesen
TOP

Where is your HEAD?

Most people would answer “on top of my neck” but that’s not always right. Actually, most heads are above their bodies but not every head has a body – which usually is no problem. Trouble starts when someone asks for a head without a body. Headhunters do (but I don’t care about them, at least within this post) and web-browsers also do from time to time. (weiterlesen …)

Weiterlesen
);?article-read-more?php get_footer();?\/h6/a href= );?Schreib einen Kommentar Schreib einen Kommentar