Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there a more efficicent/streamlined way of doing this?#!/usr/bin/perl -w use strict; my @envars; $envars[0]->{value}="23"; $envars[0]->{description}="temperature in Celsius"; $envars[1]->{value}="56"; $envars[1]->{description}="relative humidity in \%"; $envars[2]->{value}="1008.1"; $envars[2]->{description}="pressure in millibars \%"; $envars[3]->{value}="4"; $envars[3]->{description}="dewpoint in degrees Celsius"; $envars[4]->{value}="344"; $envars[4]->{description}="total column ozone in Dobson Units";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Populating an Array of Referenced Values
by duff (Parson) on Feb 02, 2004 at 20:50 UTC | |
|
Re: Populating an Array of Referenced Values
by Not_a_Number (Prior) on Feb 02, 2004 at 21:32 UTC | |
|
Re: Populating an Array of Referenced Values
by Enlil (Parson) on Feb 02, 2004 at 20:51 UTC | |
|
Re: Populating an Array of Referenced Values
by Limbic~Region (Chancellor) on Feb 02, 2004 at 20:53 UTC |