
BillKSmith
Veteran
Feb 23, 2012, 8:04 PM
Post #2 of 5
(1068 views)
|
Re: [cuboidgraphix] How to set variables to 1.
[In reply to]
|
Can't Post
|
|
my ($a, $b, $c, $d, $e, $f, $g, $h, $i) = (1)x9; You probably should not be using this many variables. Consider a hash.
my %hash = ( a => 1, b => 1, c => 1, d => 1, e => 1, f => 1, g => 1, h => 1, i => 1, ); Good Luck, Bill
|