- or download this
mySub(
opt1 => $value1
opt2 => $value2
opt3 => $value3
)
- or download this
#!/usr/bin/perl
use strict;
...
my $param = @_;
print $param->{uno}, "\n";
}
- or download this
~/programming/perl/oo$ ./test.pl
Can't use string ("6") as a HASH ref while "strict refs" in use at ./t
+est.pl line 7.