in reply to Re: A question on array references.
in thread A question on array references.
Hi BrowserUK,
Yes, that did it !!
But thing is, I want an option in references where I can print out either one line or an element of the line using the -> notation.
In other words if I say $refarray1[0] Then it should print the line "this is the first line", but if I want to print just "this" part, then it should be done using $refarray1[0]->[0], but thats not happening, because I think I am not understanding refences correctly and want something the wrong way.
I tried the reference tutorial on perldocs, but not able to understand some concepts in it. Any pointers to some documentation or website that will shed more light on this will be helpful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A question on array references.
by BrowserUk (Patriarch) on Dec 16, 2011 at 16:52 UTC | |
|
Re^3: A question on array references.
by johngg (Canon) on Dec 16, 2011 at 16:55 UTC | |
|
Re^3: A question on array references.
by Eliya (Vicar) on Dec 16, 2011 at 16:49 UTC |