http://qs1969.pair.com?node_id=135204

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

How can I use the split function to find how many variables to split specified data from a slice from a database with data such as: key|title|date|author|news? I know how to do it with the known columns needed for splitting lines of data, but how can I do this when I don't know how many variables I will need for a line from a given database? Thank you for any help!

Andy Summers