… and your little snake, too!

I did a little digging based on the Perl technique I described yesterday, and I think there is a similiar way to hook into the Python mechanism so that you don't have to do anything special in your module to get the desired behavior.


Import Subversion in Perl

Perl has a way to subvert its import mechanism, which would be useful for making it retreive modules from databases or other non-standard sources. The examples that follow don't do anything complicated, but the technique could be adapted to use the DBI to talk to a database, or on Windows (say with ActiveState Perl), you could reach oout with COM and do other interesting things.


(Yes, it is a real word, even though it sounds redundant.)


SVG and Inline Bitmaps

I noticed the following code in the "SVGAbout.svg" file from the Adobe SVG Plug-In.

<style type="text/css">
@font-face { font-family: 'Arial MT';

This appears to be a way of embedding font data with in the SVG file so we don't require it to be otherwise accessible to the display program's platform.