Thread Anfänger OO-Frage (17 answers)
Opened by Gast at 2008-07-23 14:13

Gast Gast
 2008-07-23 19:22
#112514 #112514
ok, nun hab ich nur noch ein problem, versprochen ;-)
Code (perl): (dl )
1
2
3
4
5
6
sub sethost{
        my $Objekt = shift;
        my $hash_ref = {}; 
        $hash_ref->{host} = shift;
        bless $hash_ref,$Objekt;
}

gibt ein
Code: (dl )
Attempt to bless into a reference at test.pl line 5.

View full thread Anfänger OO-Frage