in reply to Re^3: How to detect a hash container key from a referenced sub value
in thread How to detect a hash container key from a referenced sub value

I got it. Thanx.
And it's not ineffective, I'd say,
By inefficient, I mean that I have to iterate through all of the keys to add that sub with the key or a reference to the container manually, but I figure that object does it automatically. Again, I understand that I still need to read perl object tutorials, so I might be wrong at something yet.
@l = (1...3);
I guess, this is?
@l = (1..3);
or it's some operator that I am not aware of?
  • Comment on Re^4: How to detect a hash container key from a referenced sub value
  • Download Code

Replies are listed 'Best First'.
Re^5: How to detect a hash container key from a referenced sub value
by shmem (Chancellor) on Dec 07, 2009 at 09:55 UTC

    See Range Operators in perlop. '..' and '...' differ if used as flip-flop, but don't if they are used to construct a list from a range. But yes, I meant '..' ;-)