> I haven't yet tracked down the code that makes this work, but as it > does, I assume it's there somewhere. Any pointers?
It's in compilers/imcc/pbc.c, line 1666 ( https://github.com/parrot/parrot/blob/6c765e196b66930112f090a2c7d9fba94381c1cf/compilers/imcc/pbc.c#L1666 ): If there's no sub with a main annotation, the first one will be used. -- gerdr _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev