$name = "fred"; $$name{WIFE} = "wilma"; # set %fred
$name = "barney"; # set %barney $$name{WIFE} = "betty";Better to write:
$folks{"fred"} {WIFE} = "wilma"; $folks{"barney"}{WIFE} = "betty";
Forward to Avoid Testing eof
Back to Avoid Symbolic References
Up to index
Copyright © 1998, Tom Christiansen
All rights reserved.