On Sat, 5 Oct 2002, Brian Ingerson wrote:
> I think I would have to add a directive for this. Something like this:
>
> use Inline C => WAIT => NAME => Foo => VERSION => '1.23';
>
> ...multiple blocks...
>
> use Inline C => 'FINISH';
>
> Would that work? Let me know and I'll add it in.
Sounds good. Would this also mean I wouldn't have to but #include
"blah.h" in every inline block
I'm not sure about the exact syntax however (and you told me on IRC to
suggest something so here goes.) I think it probably should be part of a
more powerful How about this:
use Inline C => CONFIG,
Blah blah blah,
Which sets default config options for all following blocks of that
language. Now, if you specify a NAME and VERSION here then the module
won't compile as it goes, but instead collects all the blocks until it
finds a
use Inline C => "FINISH";
and then compiles (I mean, what else would it do?.) Of course, I'm not
sure about finish, but I can't think of anything better. "COMPILE" would
almost make sense, but then you couldn't do something similar for run-time
languages (not that you'd need to, but you might do and you wouldn't want
a terminology mish mash.)
And having said that that sounds like it could be more work (but not that
much more work) so if you want to say "screw the creeping featurism" then
do so.
Just thoughts.
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ [EMAIL PROTECTED]
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}