Skip to content

Commit

Permalink
Document the 'debug' parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Sep 28, 2010
1 parent 278c65b commit d9d9c1b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
Revision history for Perl extension POE::Component::IRC.

{{$NEXT}}
- Document the 'debug' parameter.

6.45 Sun Sep 26 03:41:48 GMT 2010
- Don't create a POE::Component::Client::DNS object if the user has
Expand Down
7 changes: 6 additions & 1 deletion README.pod
Expand Up @@ -234,7 +234,8 @@ L<C<register>|/register> and L<C<irc_registered>|/irc_registered>.

Takes a number of arguments, all of which are optional. All the options
below may be supplied to the L<C<connect>|/connect> input event as well,
except for B<'alias'>, B<'options'>, B<'NoDNS'>, and B<'plugin_debug'>.
except for B<'alias'>, B<'options'>, B<'NoDNS'>, B<'debug'>, and
B<'plugin_debug'>.

B<'alias'>, a name (kernel alias) that this instance will be known by;

Expand Down Expand Up @@ -291,6 +292,10 @@ send as long a message as possible. Be careful though, increase it too much
and the IRC server might disconnect you with a "Request too long" message when
you try to send a message that's too long.

B<'debug'>, if set to a true value causes the IRC component to print every
message sent to and from the server, as well as print some warnings when it
receives malformed messages.

B<'plugin_debug'>, set to some true value to print plugin debug info, default 0.
Plugins are processed inside an eval. When you enable this option, you will be
notified when (and why) a plugin raises an exception.
Expand Down
7 changes: 6 additions & 1 deletion lib/POE/Component/IRC.pm
Expand Up @@ -1845,7 +1845,8 @@ L<C<register>|/register> and L<C<irc_registered>|/irc_registered>.
Takes a number of arguments, all of which are optional. All the options
below may be supplied to the L<C<connect>|/connect> input event as well,
except for B<'alias'>, B<'options'>, B<'NoDNS'>, and B<'plugin_debug'>.
except for B<'alias'>, B<'options'>, B<'NoDNS'>, B<'debug'>, and
B<'plugin_debug'>.
B<'alias'>, a name (kernel alias) that this instance will be known by;
Expand Down Expand Up @@ -1902,6 +1903,10 @@ send as long a message as possible. Be careful though, increase it too much
and the IRC server might disconnect you with a "Request too long" message when
you try to send a message that's too long.
B<'debug'>, if set to a true value causes the IRC component to print every
message sent to and from the server, as well as print some warnings when it
receives malformed messages.
B<'plugin_debug'>, set to some true value to print plugin debug info, default 0.
Plugins are processed inside an eval. When you enable this option, you will be
notified when (and why) a plugin raises an exception.
Expand Down

0 comments on commit d9d9c1b

Please sign in to comment.