Net-Async-IRC
view release on metacpan or search on metacpan
nick => STRING
user => STRING
realname => STRING
Connection details. See also connect, login.
If user is not supplied, it will default to either $ENV{LOGNAME} or
the current user's name as supplied by getpwuid() or
Win32::LoginName().
If unconnected, changing these properties will set the default values
to use when logging in.
If logged in, changing the nick property is equivalent to calling
change_nick. Changing the other properties will not take effect until
the next login.
use_caps => ARRAY of STRING
lib/Net/Async/IRC.pm view on Meta::CPAN
},
);
}
sub _init
{
my $self = shift;
$self->SUPER::_init( @_ );
$self->{user} = $ENV{LOGNAME} ||
( HAVE_MSWIN32 ? Win32::LoginName() : getpwuid($>) );
our $VERSION;
$self->{realname} = "Net::Async::IRC client $VERSION";
}
=head1 PARAMETERS
The following named parameters may be passed to C<new> or C<configure>:
=over 8
=item nick => STRING
=item user => STRING
=item realname => STRING
Connection details. See also C<connect>, C<login>.
If C<user> is not supplied, it will default to either C<$ENV{LOGNAME}> or the
current user's name as supplied by C<getpwuid()> or C<Win32::LoginName()>.
If unconnected, changing these properties will set the default values to use
when logging in.
If logged in, changing the C<nick> property is equivalent to calling
C<change_nick>. Changing the other properties will not take effect until the
next login.
=item use_caps => ARRAY of STRING
( run in 0.265 second using v1.01-cache-2.11-cpan-8d75d55dd25 )