Think about Loose Coupling | |
PerlMonks |
Re: Save first n values from a fileby pvaldes (Chaplain) |
on Jan 12, 2014 at 15:19 UTC ( [id://1070339]=note: print w/replies, xml ) | Need Help?? |
no need to read after "n lines" And you can add also a fifth line to rename your variables and that's all: my ($ball,$dog,$bird) = ($fo[1],$fo[2],$fo[0]);
In Section
Seekers of Perl Wisdom
|
|