in reply to Named array indices
Coded but not run.#! /usr/local/bin/perl use strict; use warnings; use constant AAA=>1; use constant BBB=>0; my @this_array; $this_array(AAA) = 'Scrumtidlyumptions'; $this_array(BBB) = 'Cupcakes taste'; print(join(' ',@this_array), "\n");
----
I Go Back to Sleep, Now.
OGB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Named array indices
by LanX (Saint) on Aug 05, 2010 at 17:26 UTC | |
by ikegami (Patriarch) on Aug 05, 2010 at 20:30 UTC | |
by LanX (Saint) on Aug 07, 2010 at 11:35 UTC |