Changes in perlwrap.pm [811ad93:0eaa488]
- 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.