"Welcome, guests!  (ah, fresh victims...)"

On Tue, 20 Aug 2002, Chris Dutton wrote:
> "Code must live with a function" at line 219 in P6C/IMCC.pm.  From what
> I gathered from trying to read that module, it appears that somehow
> $curfunc is getting undefined, and then never redefined.

This is a weird implementation artifact, which should probably be
documented.  While real Perl gathers up all the statements you put outside
of any function into a sort of "main", for the time being you'll need to
put all that in a no-argument sub called "main".  I don't think this would
be too hard to fix, but I haven't gotten around to it.

/s

Reply via email to