in reply to Re^4: Passing Along Arrays
in thread Passing Along Arrays
Hi Perl Ally,
Some observations and questions:
In readOnly subroutine, why declare the variable first before assignment? i.e
From the usage in the subroutine, you can actually use them straight. At least, if not for anything, it shorten the line of codes to read through.my @contents; my $filePath; my $file; my $errMsg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Passing Along Arrays
by Perl_Ally (Novice) on Aug 27, 2014 at 13:27 UTC |