in reply to Re^2: Text::CSV module, writing some data on a csv.
in thread Text::CSV module, writing some data on a csv.

$row is an array reference. See perlreftut for a gentle introduction to references. Adding and removing items to or from arrays is pretty much covered by push, pop, shift and unshift. There any many other ways (TIMTOWTDI) but those should get you started.

Replies are listed 'Best First'.
Re^4: Text::CSV module, writing some data on a csv.
by BlueStarry (Novice) on Apr 06, 2016 at 11:02 UTC
    I'm sorry but i don't get it. If @rows is the array, why do we need $row to store stuff inside it, i really don't get this piece of code.