in reply to Re: How to get string from array from module?
in thread How to get string from array from module?
I don't see the point of turning @SELECTED_COLOR into a reference and then back again. Why not simply do this:
### NOT NEEDED my $SELECTED_COLOR; ### NOT NEEDED $SELECTED_COLOR =\@SELECTED_COLOR; glColor4f (@SELECTED_COLOR, $volume->color->[3]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to get string from array from module?
by Gilu (Initiate) on Feb 09, 2018 at 13:28 UTC | |
by hippo (Archbishop) on Feb 09, 2018 at 13:48 UTC |