Nagzilla 1.5.4-1 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Nagzilla 1.5.4-1 (Default branch)
# 1  
Old 01-28-2009
Nagzilla 1.5.4-1 (Default branch)

Nagzilla was designed to be a Jabber relay "bot",in that it sits quietly in a room until it gets amessage to relay to either a chat room or aperson. The early work was based on several simpleexamples out on the Internet, but would just keeplogging into a room every time the bot hadsomething to say. It was made a daemon, whichallows it to get Nagzilla alerts from varioussystems and event creators. Nagzillac (the clientprogram) accepts any string input and makes itinto a Jabber message. This should work withGoogle Talk (as it's Jabber-based), but that isuntested.License: GNU General Public License v2Changes:
Inline comments have been replaced with above line comments.Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
MouseX::NativeTraits::Bool(3pm) 			User Contributed Perl Documentation			   MouseX::NativeTraits::Bool(3pm)

NAME
MouseX::NativeTraits::Bool - Helper trait for Bool attributes SYNOPSIS
package Room; use Mouse; has 'is_lit' => ( traits => ['Bool'], is => 'rw', isa => 'Bool', default => 0, handles => { illuminate => 'set', darken => 'unset', flip_switch => 'toggle', is_dark => 'not', }, ); my $room = Room->new(); $room->illuminate; # same as $room->is_lit(1); $room->darken; # same as $room->is_lit(0); $room->flip_switch; # same as $room->is_lit(not $room->is_lit); return $room->is_dark; # same as !$room->is_lit DESCRIPTION
This provides a simple boolean attribute, which supports most of the basic math operations. PROVIDED METHODS
These methods are implemented in MouseX::NativeTraits::MethodProvider::Bool. It is important to note that all those methods do in place modification of the value stored in the attribute. set Sets the value to true. unset Set the value to false. toggle Toggles the value. If it's true, set to false, and vice versa. not Equivalent of 'not $value'. METHODS
meta method_provider_class helper_type SEE ALSO
MouseX::NativeTraits. perl v5.14.2 2011-12-04 MouseX::NativeTraits::Bool(3pm)