archives

FAQ 4.9 How can I output Roman numerals?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

FAQ 4.32 How do I strip blank space from the beginning/end of a string?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

Re: How does mod_perl module caching work?

If you use the PerlModule directive inside a conditional directive (like <Location>), it will load the module the first time that location is visited, by which time you've usually got more than one apache child process running. That means when you reload the page, chances are fairly good you've got another child process and the module will get loaded

Problem with perlsax splitting the calls to characters callback

From the link given here : [link] Perl sax seems to split the characters call for a single entity. Though this is wierd.(not sure if there is a genuine reason) it is fine.. as all belong to same entity, we can simply append all the characters calls.

Problem using ';' in an INI file and parsing

Hi, I'm using Config::Abstract::Ini to parse an INI file im using to store configuration information. The problem is in my INI file one of the entries is a BASH command like so command1 = "cat myfile.txt while read LINE ; do awk -F ',' '{print $5}' ; done" Now when it's parsed, it only comes out as

Soccer Lessons - let your positive reinforcements sink in - reflection time

Hmmm - We played again Saturday - and we won.  Close game - 2-1.  I loved it!  Here is why. First, the other team definitely controlled the middle of the field for the entire first half.  We had no subs - losing 3 players to vaca...

Creating video for your musical performances - part 1

I've started a tutorial on creating video for songwriters/performers.  It is going to focus on using Microsoft Movie Maker - which is free with Windows XP and Vista. The truth is, there is more advanced video software out there - some may have ...

Odd behaviour with has key - wide character

Does the letter "v" have any significance when creating a hash key? The following code snippet does not behave as I expect it to:- %H = (v365, 3); print keys %H; When run it outputs Wide character in print at wide.pl line 4. ŭ When the key name is changed to "va365" it prints "va365" as I expect. What is special about just v followed by numbers?

FAQ 4.27 How can I access or change N characters of a string?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

Giving up on Work e-mail - Status Reports from Week 31 through to Week 35

Back from a wonderful holiday and from a business trip to Belgium, it is now time for that blog post with the progress reports on what's happened over the last few weeks of giving up on e-mail at work... About time! Lots of interesting insights, as well as a huge milestone achieved! Second part of the challenge now executed! Sweet!

Help: How to process output of a program

Hello, How to process output of a program? For example, I want to parse the output of /sbin/lspci program. Thanks. Amy

Web 2.0 Expo in Berlin and My Chance to Say Thank You!

If you are planning on going to the Web 2.0 Expo in Berlin, but don't know just yet how you are eventually going to make it, you may as well go and read this blog post, because I may be able to make that task slightly easier. All in all as a token of gratitude for the lovely conversations we have been having on this blog all along! Want to meet up in Berlin? Here is how...

'extracting' from a string via regular expressions?

Hi, I was modifying code written by others when something stopped working. I was using a construct like: $string=~ m@PartOne(.*)PartTwo@; to find and extract everything between 'PartOne' and 'PartTwo', and I swear it was working. Then I moved to a different string and it stopped working (and now the first example also stopped working).

New Redpaper: DB2 9 for z/OS: Backup and Recovery I/O Related Performance Considerations

A new Redpaper is now available on DB2 backup and recovery i]I/O performance.