crmr_5 Read access to business unit 5 crmw_3 Write access to business unit 3 crmn_1 Read and write notes access...
looks like a nested structure to me, TIMTOWTDI
either
$cmr_access{r}[5]
or
$cmr_access[5]{r}
or
use constant { NOTE=>0,READ=>1,WRITE=>2 }; $cmr_access[5][READ]
it really depends on the use case
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Formatting variables
by LanX
in thread Formatting variables
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |