in reply to Re^2: accessing data structure
in thread accessing data structure

Sorry if I seemed rude, I didn't mean to cause any offence.

My reference to references (ha!) was in the context of the previous reply. I hope that helps change the tone a little (without that, it does seems ruder to me).

I don't understand how you got the results you did with strict on, this code fails to execute for me (compilation error):

#!/usr/bin/perl use strict; my @dereferenced_array = @{results}; print "not reached\n"; # doesn't execute
perl 5.8.8, linux.

Replies are listed 'Best First'.
Re^4: accessing data structure
by CColin (Scribe) on Nov 16, 2007 at 15:06 UTC
    No offence taken. As for reproducing the error, I was getting all sorts of warnings on different iterations of trying different ways of dereferencing, didn't reproduce them since I knew there was something basic I was not doing but couldn't spot it despite several hours staring at it - luckily it was spotted quickly by you good monks. You're right I should have been fuller in the reply and included error messages also.