Oh no, what a simple mistake. :) I thank you so much!
Best regards Luis
Jeff 'Japhy' Pinyan schrieb:
On Jul 7, Luis said:
"Can't use string ("1") as a HASH ref while "strict refs" in use at TestObject.pm line 21."
sub insertFriends { my $self = @_;
The problem is that $self is not what you think it is. You have stored the number of elements in @_ into $self. You meant
my ($self) = @_;
or
my $self = $_[0];
or
my $self = shift;
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>