figgy has asked for the wisdom of the Perl Monks concerning the following question:
Tried using an array$list_total_perla+= $perla; $list_total_perlb+= $perlb; $list_total_perlc+= $perlc; $list_total_perld+= $perld; $list_total_perle+= $perle; $list_total_perld+= $perld;
to shorten the formula. But I am having difficulty calling the variables e.g. $list_total_perld@shorten = (perla, perlb, perlc, perld, perle, perld);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Shorten the list of computation
by BrowserUk (Patriarch) on May 12, 2003 at 06:16 UTC | |
|
Re: Shorten the list of computation
by Zaxo (Archbishop) on May 12, 2003 at 06:14 UTC | |
|
Re: Shorten the list of computation
by Aristotle (Chancellor) on May 12, 2003 at 06:05 UTC | |
|
Re: Shorten the list of computation
by CombatSquirrel (Hermit) on May 13, 2003 at 15:24 UTC |