"be consistent" | |
PerlMonks |
Re: Using a variable to define a variableby AnomalousMonk (Archbishop) |
on May 08, 2015 at 16:01 UTC ( [id://1126115]=note: print w/replies, xml ) | Need Help?? |
A "more Perlish" way to do this is something like (untested): See map. Update: Or if @file_line_contents is likely to be more than 45 elements and you want the length array to be limited to 45 (untested): See Slices in perldata. Give a man a fish: <%-(-(-(-<
In Section
Seekers of Perl Wisdom
|
|