fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
to iterate through a reference to an array but I seefor my $line (@$work_ref) {
Is there a practical reason for the 2nd example?@{$workref}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: array ref notation
by BrowserUk (Patriarch) on Dec 22, 2014 at 21:26 UTC | |
|
Re: array ref notation
by LanX (Saint) on Dec 22, 2014 at 21:23 UTC | |
|
Re: array ref notation
by Anonymous Monk on Dec 22, 2014 at 21:47 UTC |