Thread Net::IRC: Wie Aktionen ausfuehren?
(38 answers)
Opened by Dubu at 2005-05-03 21:07
Okay, das hab ich jetzt auch hin bekommen.
anstatt Code: (dl
)
$self->privmsg($channel, "Hallo"); einfach Code: (dl
)
$self->privmsg($nick, "Hallo"); Aber eine andere Frage. Wie stelle ich mit dem Modul Farben dar? ? ? perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'
http://perl-tutor.de |