Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: accessing data structure

by jbert (Priest)
on Nov 16, 2007 at 14:44 UTC ( [id://651222]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://651222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-18 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found