A
A
Andrey Frolov2014-12-22 22:43:49
Perl
Andrey Frolov, 2014-12-22 22:43:49

How to put a whole array into a hash value in Perl?

Actually, how to put an array of the form in the hash value @mas, while the key is a scalar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Savostin, 2014-12-22
@inham

$hash['name'] = \@mas;
leadership

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question