ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Net-IRC3/lib/Net/IRC3/Util.pm
(Generate patch)

Comparing Net-IRC3/lib/Net/IRC3/Util.pm (file contents):
Revision 1.4 by elmex, Mon Jul 17 16:18:14 2006 UTC vs.
Revision 1.5 by elmex, Mon Jul 17 18:44:08 2006 UTC

113 113
114 mk_msg (undef, "PRIVMSG", "you suck!", "magnus"); 114 mk_msg (undef, "PRIVMSG", "you suck!", "magnus");
115 # will return: "PRIVMSG magnus :you suck!\015\012" 115 # will return: "PRIVMSG magnus :you suck!\015\012"
116 116
117 mk_msg (undef, "JOIN", undef, "#test"); 117 mk_msg (undef, "JOIN", undef, "#test");
118 # will return: "JOIN #magnus\015\012" 118 # will return: "JOIN #test\015\012"
119 119
120=cut 120=cut
121 121
122sub mk_msg { 122sub mk_msg {
123 my ($prefix, $command, $trail, @params) = @_; 123 my ($prefix, $command, $trail, @params) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines