Re: Fwd: CPAN Upload: JPRIT/Event-0.74.tar.gz

[email protected] (Jochen Stenzel)
Newsgroups perl.loop
Message-ID <[email protected]>
Hello,

thanks for this new release. One remark: it is possible to say now (debugger session):

  DB<1> $io=Event->io(parked=>1, data=>[qw(a b c d)])
  DB<2> x $io->data
  0  undef
  DB<3> $io->data([qw(a b c d)])
  DB<4> !2
  0  ARRAY(0x23e444)
     0  'a'
     1  'b'
     2  'c'
     3  'd'

That means, "data" can be used as a method now but not as a constructor parameter. (Well, it can be used, but without
effect.) For complete consistency, I suggest to let it behave like all other attributes - which can be set both by method
AND constructor parameter.

                            Jochen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.