On Jul 5, 2012, at 7:57 PM, xiyoulaoyuanjia wrote:
> - 1.first do you meaning values(%{$a}) as same as values($a) which $a
> is references starting from perl-5.14 .
If $a is a reference to a hash, then %{$a} and %$a represent that hash.
For Perls earlier than 5.12, the argument to value
- 1.first do you meaning values(%{$a}) as same as values($a) which $a
is references starting from perl-5.14 .
2. i did not know why I compare two lists ? values($a) return the value of
hash which has only one element. so i just think values($a) return a list
just when $a has more than
Hi xiyoulaoyuanjia,
On Thu, 5 Jul 2012 22:53:03 +0800
xiyoulaoyuanjia wrote:
> hi:
>
> i want sort my array .but the result is not right. i did not know why ?
>
> ---begin
> code--
> perl -e '
>
> @AoH = (
>
hi:
i want sort my array .but the result is not right. i did not know why ?
---begin
code--
perl -e '
@AoH = (
{
rsh => "0.4",
},
{
telnet=> "0.022",
},
{
ssh => "0.3",