perlquestion
bladx
How can I use the <code>split</code> function to find how many variables to split specified data from a slice from a database with data such as: <code>key|title|date|author|news</code>? 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!
<br><br>
<font face=arial color=#333333 size=5>A</font><font face=arial color=#333333 size=4>n</font><font face=arial color=#666666 size=3>d</font><font face=arial color=#666666 size=2>y</font> <font face=arial color=#999999 size=1>S</font><font face=arial color=#999999 size=2>u</font><font face=arial color=#666666 size=3>m</font><font face=arial color=#666666 size=4>m</font><font face=arial color=#cccccc size=5>e</font><font face=arial color=#dddddd size=4>r</font><font face=arial color=#bbbbbb size=3>s</font>