Loading ...
Sorry, an error occurred while loading the content.

Re: Need some conceptual help.

Expand Messages
  • b_harnish
    ... Is the trio of information going to exist on the same line together? Or will you have to grab pieces from several different lines to come up with your trio
    Message 1 of 3 , Jan 29, 2002
    • 0 Attachment
      --- In perl-beginner@y..., "sgharms@o..." <sgharms@o...> wrote:
      > Hi all,
      >
      > I'm going to be reading data in from a web site and I have my socket
      > all set up. The goal will be to de-htmlize the code
      > and then parse come crucial bits up. Here's the data I'm getting
      >
      >
      > 20-DEC-2001 12:45
      > Bob
      > Action
      >
      >
      > So they essentially come out in the form: date, actor, action.
      >
      > So there will be a plethora of these trios.
      >
      > I'd like to get them all on the same time and get something
      > like this at the end.
      >
      > date:actor:action
      > date:actor:action
      > date:actor:action
      > date:actor:action
      >
      > I could keep this data for logging purposes and re-parse
      > as necessary.
      >
      > It's standard perl-fu with a
      >
      > while (<SOCKETIN>){
      > #dehtmlize
      >
      > }

      Is the trio of information going to exist on the same line together? Or will you have to grab pieces from several different lines to come up with your trio of info?

      - Brian
    Your message has been successfully submitted and would be delivered to recipients shortly.