hi,

i'd liek to know what you think. it is related to the object layer somehow.

it seems as we agree on the fact that we need more information about
objects, methods, ... than what we can get out of perl subs or ISA.

there are two main directions:

- explicitely declare it:
done in POE::Session somehow. provide the needed data trough perl vars,
as constructor parameters or set it later through special methods.

- more perlish:
try to encode it in perl attributes, maybe use source code filters. a lot
of possible ways ...

that's not a detailed discussion of pros and cons of course, i just wanted
to start a thread with this post :)
and it isn't really important, however developers are attracted by
comfortable environments...

a solution might be to use the explicit approach now (development stage
anyway) and maybe switch to the second way when Perl6 is out and
hopefully provides some interesting features ...


torvald


Reply via email to