Gordon Haverland wrote:
> One example, is debugging help. I suspect the
> easiest to understand is to set some global variable to some
> value to activate various levels of debugging. Maypole allows
> one to define a subroutine to control debugging, but in practice
> this seems to do almost nothing..
Using a subroutine is a performance thing. Perl inlines subroutines that
just return a constant so this should allow for better optimisation
than checking variables. I've no idea what difference it actually makes.
Simon is steadily improving the diagnostics but at present I still think
there's no substitute for adding warn or print statements at all places
that are important to you.
Cheers, Dave
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT