in reply to parsing a file

What about this:
local $/ = "\n\n"; @users = <DATA>; __DATA__ USER 1 LOGIN date MORE info MORE info USER 2 LOGIN date MORE info MORE info USER3 LOGIN data MORE info MORE info
Boris

Replies are listed 'Best First'.
Re^2: parsing a file
by holli (Abbot) on Jan 25, 2005 at 16:45 UTC
    what should it profit the OP to get this
    $VAR1 = [ 'USER 1 LOGIN date MORE info MORE info ', 'USER 2 LOGIN date MORE info MORE info ', 'USER3 LOGIN data MORE info MORE info ', ' ' ];
    structure?

    holli, regexed monk
      The data is split into peaces that start with every user. As the op requested.
      Boris