Can you please explain what is going on in this? I am lost on how references work in this:
use strict;
my @array = ('1','2','3','blue','red');
my $array_reference = \@array; # a reference to the array
&print_array($array_reference);
# print 'blue'
print "COLOR...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.