Thread sub Howto (2 answers)
Opened by J-jayz-Z at 2005-11-02 23:05

J-jayz-Z
 2005-11-03 03:29
#59609 #59609
User since
2005-04-13
625 Artikel
BenutzerIn
[Homepage] [default_avatar]
Hey, dank dir ! Genau das hab ich gesucht !
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

View full thread sub Howto