Thread In anonymes Hash umwandeln
(9 answers)
Opened by J-jayz-Z at 2005-11-15 21:03
Okay, das ist genau das, was ich gesucht habe, danke !
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 |