Thursday, July 12, 2007

Zorknotes redux


Ok, there's a reason; check this out:
# convert all code numbers to hot links
#
$result =~ s/(\-*\d+\.\d+\b)/\<a href\=\"zorknotes.pl\?\1\" title=\"\1\"\>\1\<\/a\>/g;
Ain't that too cool? I do like Perl!

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home