siddheshsawant has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks, I was trying to print the contents of array which was referenced.The code is given below
$desc_ref = \@description."\n"; print"Description =".$$desc_ref[$i]."\n";
And I am getting empty array as a output.Kindly let me know how to print contents of the array @description in this case
Thanks in advance !!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printing content of referenced array
by ikegami (Patriarch) on Mar 23, 2010 at 17:40 UTC | |
|
Re: @ printing content of referenced array
by toolic (Bishop) on Mar 23, 2010 at 17:42 UTC | |
|
Re: @ printing content of referenced array
by 7stud (Deacon) on Mar 23, 2010 at 18:03 UTC | |
|