in reply to Dereferencing fetchall_arrayref({})
Other people have provided the information you needed in this case, but you don't want to go seeking out help every time a reference doesn't work the way you imagine it should.
When $data->[1] did not return the type of values you anticipated, the next step is to find out what it does contain .... if your visualization of relaity and the contents of the data structure disagree, only one of them can be right. The appropriate solution at that point is to use Data::Dumper:
use Data::Dumper; print Dumper $data;
--
TTTATCGGTCGTTATATAGATGTTTGCA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: When data structures differ from your expectations
by bradcathey (Prior) on Apr 26, 2004 at 00:56 UTC | |
by TomDLux (Vicar) on Apr 26, 2004 at 16:01 UTC |