From: Chris W. <ch...@cw...> - 2004-12-06 05:58:43
|
OpenInteract2 observers wait for events fired by actions and react as programmed and configured. This one waits for a 'post add' observation, reads some configuration so it knows how to set the 'subject' and post content of a use.perl journal post, and adds a new journal entry with every new object. This makes it trivial to not only echo your news postings but also any other type of object in the system. For an example, see: http://www.cwinters.com/news/display/?news_id=3310 http://use.perl.org/~lachoy/journal/22161 Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 Begin forwarded message: > From: PAUSE <up...@pa...> > Date: December 6, 2004 12:50:19 AM EST > To: "Chris Winters" <ch...@cw...> > Subject: CPAN Upload: > C/CW/CWINTERS/OpenInteract2-Observer-UsePerlPost-0.01.tar.gz > Reply-To: cpa...@pe... > > The uploaded file > > OpenInteract2-Observer-UsePerlPost-0.01.tar.gz > > has entered CPAN as > > file: > $CPAN/authors/id/C/CW/CWINTERS/OpenInteract2-Observer-UsePerlPost > -0.01.tar.gz > size: 3938 bytes > md5: 2ae190ecfeec2728a3f3273fcb26129a > > No action is required on your part > Request entered by: CWINTERS (Chris Winters) > Request entered on: Mon, 06 Dec 2004 05:49:53 GMT > Request completed: Mon, 06 Dec 2004 05:50:19 GMT > > Thanks, > -- > paused, v460 |