Joining 2 arrays into hashes

B

Ben Morrow

Quoth Brad Baxter said:
I think the following thread in P5P is related to this topic, in that it
allows for this:

my $var->[2] = 'val';

which admittedly is slightly different.

Yes... I at least would conceptualize that statement as

(my $var)->[2] = 'val';

which doesn't have the same problem of needing two different values for
the subject of the my.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top