in reply to Re^3: How to display first line of each record using the question code
in thread How to display first line of each record using the question code

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^4: How to display first line of each record using the question code
  • Download Code

Replies are listed 'Best First'.
Re^5: How to display first line of each record using the question code
by LanX (Saint) on May 18, 2013 at 17:46 UTC
    no, sorry!

    update

    but this group ([^\n]) doesn't make much sense for me.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      This particular code is trying to get the first line of each record

      ([^\n]*)
      while(<FileHandler>) if(/([^\n]*)\n(.*)/sm) { print "$1\n"; } }
        >    if(/([^\n]*)\n(.*)/sm)

        Which is not the code you posted before!!!

        Good luck! I'm on week end now. =)

        Cheers Rolf

        ( addicted to the Perl Programming Language)

        A reply falls below the community's threshold of quality. You may see it by logging in.