moze mi pomoct niekto vysvetlit nasledovne?
obsah test.pl:
#!/usr/bin/perl
sub test(\%)
{
my $reff=shift
}
my %hash=(kluc=>"hodnota");
test(%hash);
test(kluc=>1);
$ perl test.pl
Type of arg 1 to main::test must be hash (not constant item) at test.pl line 11, near "1)"
Too many arguments for main::test at test.pl line 11, near "1)"
Execution of test.pl aborted due to compilation errors.