[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl realted question..



if i read you correctly, you can read the file into an array and use pop, which will return the last element read.Or you could use @array[-1]



On 1/9/08, Chris Howie <cdhowie@gmail.com> wrote:
On Jan 9, 2008 10:04 PM, ISHWAR RATTAN <rattan@cps.cmich.edu> wrote:
Is there a way to place the last line read
when reading from a file? My suspicion is there
is no such thing but i do want to confirm..

What do you mean by "place?"

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


Reply to: