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!

No comments:

Post a Comment