Changeset feabce2 for perlwrap.pm
- Timestamp:
- May 9, 2008, 8:01:05 PM (13 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 61abb18
- Parents:
- db0ac7e (diff), 0eaa488 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perlwrap.pm
r811ad93 r0eaa488 132 132 133 133 Remove a file descriptor previously registered via C<add_dispatch> 134 135 =head2 create_style NAME OBJECT 136 137 Creates a new barnowl style with the given NAME defined by the given 138 object. The object must have a C<description> method which returns a 139 string description of the style, and a and C<format_message> method 140 which accepts a C<BarnOwl::Message> object and returns a string that 141 is the result of formatting the message for display. 134 142 135 143 =cut … … 824 832 my $self = shift; 825 833 my $m = shift; 826 return "\@b(PING) from \@b(" . $m->pretty_sender . ") \n";834 return "\@b(PING) from \@b(" . $m->pretty_sender . ")"; 827 835 } 828 836 … … 923 931 924 932 sub format_ping($) { 933 my $self = shift; 925 934 my $m = shift; 926 935 return sprintf(
Note: See TracChangeset
for help on using the changeset viewer.