Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to get string from array from module?

by Laurent_R (Canon)
on Feb 08, 2018 at 22:15 UTC ( #1208761=note: print w/replies, xml ) Need Help??


in reply to How to get string from array from module?

hippo is right. Just wanting to add that, if you want an array, you need to use round parentheses, not square brackets, like this:
our @COLOR_MAGENTA = (0.82745,0.21176,0.50980); # Now this is an array

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208761]
help
Chatterbox?
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2018-07-16 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (333 votes). Check out past polls.

    Notices?