From: timothy adigun <2teezp...@gmail.com> > On 10 Apr 2013 11:30, "Chankey Pathak" <chankey...@gmail.com> wrote: > > > > Hi Kavita, > > > > You may try unpack (http://perldoc.perl.org/functions/unpack.html) > > > unpack would not work if the OP has varying length of lines.
Nope. It would work just fine as long as the bits he's interested in are fixed lengh and are on fixed positions. The length of the uninteresting trailing stuff is irrelevant. Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/