2 use warnings FATAL => 'all';
6 use Data::Perl::Collection::Set;
8 my $idiotbox = App::IdiotBox->new({
9 config => { template_dir => 'share/html' }
13 my ($lpw, $opw) = map bless($_, 'App::IdiotBox::Bucket'),
15 name => 'London Perl Workshop 2009',
18 name => 'Perl Oasis 2010',
20 my @ann = map bless($_, 'App::IdiotBox::Announcement'),
22 made_at => '2010-01-21 01:00:00',
26 made_at => '2010-01-01 14:00:00',
29 Data::Perl::Collection::Set->new(members => [ @ann ]);
32 $idiotbox->{recent_announcements} = $ann;
38 my $front = $idiotbox->show_front_page;
42 my $fh = $front->[-1];
43 while (defined (my $chunk = $fh->getline)) {
57 #HTML::Zoom->from_string($html)
59 # '.announcement' => [