source: perl/lib/BarnOwl/Zephyr.pm @ 3e8625f

release-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since 3e8625f was df569c5, checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
Add a perl hook that is called once Zephyr is initialized. Some functions, like ZGetSender(), cannot be usefully or safely called until Zephyr is initialized, so add a hook so that perl code can safely wait until they are available to call them.
  • Property mode set to 100644
File size: 203 bytes
Line 
1use warnings;
2use strict;
3
4=head1 NAME
5
6BarnOwl::Zephyr
7
8=cut
9
10package BarnOwl::Zephyr;
11
12use BarnOwl::Hook;
13
14my $zephyrStartup = BarnOwl::Hook->new;
15
16sub _zephyr_startup {
17    $zephyrStartup->run;
18}
19
201;
Note: See TracBrowser for help on using the repository browser.