Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-04-21 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?