Category Archives: Programming

notes on how (not) to do programming

Capturing system command output in perl

Running system commands from inside a perl script is one of the nastiest of all perl headaches. I suffered grievously when trying to use this method with some pdf file addons, and have scars to show for it. Lately, having … Continue reading

Posted in Programming | Comments Off on Capturing system command output in perl

Fixing textwidth in vim

I have had several problems with my program editor Vim recently.  Here is how I fixed one of them. There are two directories that I had to mess with: c:\program files\vim [vim directory] c:\users\rabbit [user directory] the vim directory is … Continue reading

Posted in Programming, quotidiana, software | Comments Off on Fixing textwidth in vim

Mechanized Moodle

One of the main things I use Perl for is to manage my grading chores on Chi Nan University’s Moodle system. Moodle is a very useful teaching tool, one I’ve been using for over 10 years. So if it’s such … Continue reading

Posted in Programming, school, Translation | Comments Off on Mechanized Moodle

perl win32 OLE arcana: 1

problems with perl Win32 OLE: error 0X800a03ec Continue reading

Posted in Programming | Comments Off on perl win32 OLE arcana: 1

UTF-8 and utf8: Another piece of the puzzle

A case where UTF-8 and utf8 in perl made an important difference. Continue reading

Posted in Programming | Comments Off on UTF-8 and utf8: Another piece of the puzzle

Stupid programming tricks: #1

how to redirect messages and errors from your perl script to a file in the same order that they appear on your screen. Continue reading

Posted in Programming | Comments Off on Stupid programming tricks: #1