#!/usr/bin/perl use strict; use warnings; my $a=10; my %b; $b{\$a}= $a; while ( my ($key, $value) = each %b) { print "$key => $b{$key}\n"; }
In reply to Re: Problem to store referrence as key value in a hash
by poolpi
in thread Problem to store referrence as key value in a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |