in reply to Re^2: Misunderstanding dereferencing
in thread Misunderstanding dereferencing

I see no error so I'm wondering what is the behaviour now. Does it push 'foo' to the array @4 (@b evaluated in scalar context) ?

Edit: sorry I didn't read to the bottom of your code...

Edit2: more sincerity