♥ Perl

Jul. 23rd, 2008 01:56 pm
theducks: (Default)
[personal profile] theducks
I've been writing a lot of Perl lately for work/play.

Work's Perl has been to interrogate our Cisco network and update our Configuration Management DataBase with the details from it. This is nifty, trust me.

Last night's fun Perl was for making the wedding invitations. I did the design in Illustrator, which alas, does not have a Mail Merge function. So instead, I exported them to SVG (thanks to [livejournal.com profile] davyd for the idea) and put "AAAAAAAA" and "BBBBBBBB" and "CCCCCCCC" for the names and an XXX for a sheet number, and wrote a Perl script to merge our wedding guest list (from Google Docs, natch) and output the merged SVGs. I then tweaked the layout as needed, and saved and got them ready to print. Total time taken was about an hour, including writing the Perl script.

Mmm better wedding planning through Perl and Google.

(no subject)

Date: 2008-07-23 08:11 am (UTC)
From: [identity profile] dannipenguin.livejournal.com
Eww, at least I did it through manipulation of the XML DOM rather than regular expressions.

(no subject)

Date: 2008-07-23 08:57 am (UTC)
From: [identity profile] theducks.livejournal.com
"at least"? bah, that's the hard OO way of doing things ;)

(no subject)

Date: 2008-07-23 04:10 pm (UTC)
From: [identity profile] hipikat.livejournal.com
You make me feel sick to my stomach.

April 2023

S M T W T F S
      1
2345678
91011121314 15
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 8th, 2025 09:11 pm
Powered by Dreamwidth Studios