Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Sqeezebox

  1. Sqeezebox

    Using Net::POP3 to retrieve a the subject line from a pop3 mailbox

    Yes, this project that I undertook as a first time perl programmer is making me dizzy at times. Hopefully it will all be worth it in the end. Thanks for all your help guys!
  2. Sqeezebox

    Using Net::POP3 to retrieve a the subject line from a pop3 mailbox

    I figured it out, I wasn't incrementing my Increment variable so the first item of the array was just getting overwritten over and over again.
  3. Sqeezebox

    Using Net::POP3 to retrieve a the subject line from a pop3 mailbox

    Woah Brigmar, that is beautiful, I was using kevin's code along with some earlier code to get this: # Retrieve Mail. sub retrieveit { # initiate connection # default timeout = 120 sec $conn = Net::POP3->new($host) or die("ERROR: Unable to connect.\n"); # login $numMsg =...
  4. Sqeezebox

    Using Net::POP3 to retrieve a the subject line from a pop3 mailbox

    Kevin, I am sending out messages with a pre defined subject line to a ticketing system that sends back the same subject line along with a ticket number. Since I know what the structure is I have already made a parsing routine to extract the data from the subject line. The only thing I was stuck...
  5. Sqeezebox

    Using Net::POP3 to retrieve a the subject line from a pop3 mailbox

    Hello there, I am a newbie when it comes to Perl. I need to retrieve message subject lines from a POP3 mailbox. I have started out using Net::POP3 to authenticate and get the number of messages in the POP3 mailbox. I used the following code to accomplish this: #!/usr/local/bin/perl # use...
  6. Sqeezebox

    CSV - Trouble Parsing out last column of data from a CSV file

    Ahhh see I didn't understand the while statement there. All you have to do is say while (data file) and then perform the actions within the while loop. I read the documentation but couldn't figure out where to specify what file to act upon with the Text::CSV module. I am new to this, and many...
  7. Sqeezebox

    CSV - Trouble Parsing out last column of data from a CSV file

    Woah, WinBlowsMe, What exactly did you do there. The script seems to work! I don't understand what you did though, care to enlighten me? THANKS!
  8. Sqeezebox

    CSV - Trouble Parsing out last column of data from a CSV file

    Hello there. I have a CSV file that has some data including a timestamp (column 6). I am trying to parse out the last field of data from each row in the CSV file and then use each field separately to compare with one another. Basically I am trying to see if the last two fields are 300 seconds...

Part and Inventory Search

Back
Top