in reply to call subroutines via hash
If you add use strict; to the top of your code you will immediatly get an error that tells you what went wrong. The line my $radius_ref = @data; is putting the value 4 in $radius_ref not a ref to data. Instead you could try [@data] or just don't use a ref and do foreach $radius(@data) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: call subroutines via hash
by fortesque (Acolyte) on Jan 04, 2006 at 21:36 UTC |