in reply to Templating pod generation?
From CB conversation, it seems like you want this file to modify itself, generating the pod and methods. That is an evil desire.
Ok, here's an evil thought to go with it.
I wouldn't do it ;-)use Tie::File; tie my @file, 'Tie::File', $0 or die $!; splice @file, $begin_lineno, $begin_length, split $/, eval <<B_SUGAR; # etc.
Every time I look at this, I see something more that needs doing to make it work. That's a bad sign. Take this a purely conceptual notion.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Templating pod generation?
by diotalevi (Canon) on Jul 19, 2006 at 19:35 UTC | |
by Zaxo (Archbishop) on Jul 19, 2006 at 20:30 UTC |