Message.pmDefine a hash of messages and identify them as a header, notice, warning or erro | |
Download |
Message.pm Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Daniel Quinn
- Publisher web site:
- http://danielquinn.org/
Message.pm Tags
Message.pm Description
Define a hash of messages and identify them as a header, notice, warning or erro Message.pm is a Perl class that lets you define a hash of messages and identify them as a header, notice, warning or error and the class takes care of the rest.Developer commentsIs an extension to the "Pretty Things" ideology. I needed to have a way to code an easy-on-the-eyes message to the screen.Instructions:#!/usr/bin/perluse Colours;use Message;my %colours = Colours::getColours();my %messages = ( 'someMessage' => , 'someError' => , 'someHeader' => );my $message = Message->new(1, \%colours, \%messages);$message->draw('someHeader');$message->draw('someError');$message->draw('someMessage'); Requirements: · Perl
Message.pm Related Software