note
ask
Once in a while I've used something like
<code>
if (exists $commands{$command}) {
my ($result) = eval "&$command";
...
}
</code>
to avoid the if ($command eq "foo") { &foo } elsif (...) thing. I think I picked it up from Jim Winstead
<p>
- ask
<pre>
--
ask bjoern hansen, <a href="http://ask.netcetera.dk/">http://ask.netcetera.dk/</a> !try; do();
</pre>
129788
129788