>I'm trying to get a script to read line-by-line text from a file into a >variable.. say @LineInfo > >I then split that @LineInfo variable into .. uh. let's say @LineData > >I can get the @LineInfo -> @LineData split ok, but the file -> @LineInfo I >can't get. Do I have to basically do a "while <INPUT>" and put THAT info >into a variable ($LineInfo[1], $LineInfo[2], $LineInfo[3] etc) or is >there an easier way?!!? please tell me there is.. heehehe :) > > >Thanks. > >-Tim- > > timjudd@teleport.com | *NO* chain letters of any kind! > Teleport #(503) 220-1016 | Located in Portland, Oregon. Hello, I think you need @LineInfo = <INPUT>; which will put all of the file, referenced by the handle INPUT into the list @LineInfo, which you can manipulate. Bob ________________________________________________________________ Bob Wilkinson, Perl Programmer, Pindar plc Tel: +44 (0)1904 613040 Email: B.Wilkinson@pindar.co.uk Fax: +44 (0)1904 613110 URL: http://www.connection.co.uk/bob ________________________________________________________________ The views expressed herein are mine, and are not necessarily shared by my employer. ________________________________________________________________