python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to initialise struct with constant members with certain address?
I am trying to initialise class object (which has constant members) with certain values and certain address. I understand that this is because members are constant but I need them to be constant. I tr...
bugrishka
Votes: 0
Answers: 1
How can I pass a reference of an array defined as constant?
I defined hash and array constants, When passing those to a function, I'll have to pass them as references.
However I'm wondering what the correct syntax is.
Consider this example:
#!/usr/bin/perl
use...
U. Windl
Votes: 0
Answers: 1
Flutter: create const color from hex string
I am using Firebase remote config to store my color values. This gives me the flexibilty to update colors without the need to update my app. Now I have written myself a helper function which returns t...
Jan
Votes: 0
Answers: 1
Why "Type of argument to each on reference must be unblessed hashref or arrayref at test.pl line 17."?
I don't understand the error message
Type of argument to each on reference must be unblessed hashref or arrayref at test.pl line 17.
for this test case (extracted from a larger module):
BEGIN { our ...
U. Windl
Votes: 0
Answers: 2