http://www.perlmonks.org?node_id=134019

emcb has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Im creating an authentication mechanism on my intra using perl/win2k. So far i am going to use a text-file to store the users information. Heres what the file looks like.

# passwd.ini user1|pass1|email@some.net|some|other|stuff user1|pass1|email@some.net|some|other|stuff user1|pass1|email@some.net|some|other|stuff
And so on... what i think i should do is extract them into arrays like %user/pass/email/some/other/vars, but i dont know how. Any help would be great so i can get this running.

Cheers,

Elfyn

Edit kudra, 2001-12-23 Added markup