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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gm199
  • Content: Threads
  • Order by date
  1. gm199

    Help on

    I'm doing the same thing over and over again for hours with no results! Seems very stupid but help me find what is wrong ... I have two arrays: @tirar that grabs user form input (checkbox) @thecats - populated from DB in form of 1|43|56|74 ($mailcats) The script is supposed to remove the...
  2. gm199

    Working with two files

    Sorry guys to ask this, I'm lost. I searched previous post but find no help. I have the following 2 files: File 1 = ID#|Category (Pipe separated values, about different 1,300 lines) File 2 = Url|Category|Link (30,000 lines) What I need is to do is open File 2, split and find the ID# for the...
  3. gm199

    Spliting 1 file in multiple

    Hi, I'm the most stupid programmer when using REGEX! I have a huge html file and want to split in n small files. Chuncks of texts to be saved in individual files begins with: </p><hr width="75%"><center><tt>-387-</tt></center><br> then the texts goes in multiple lines up to the next line like...
  4. gm199

    Net::POP3 or POP3Client module HELP

    I tried bot modules to save the emails to a local directory but always get the text message with &quot;=&quot; or &quot;=20&quot; at the end of the line. Does anyone knows how to clean this up and save it in plain readable text?
  5. gm199

    Translating from Javascript to Perl = Math.floor();

    Can someone help me out? I'm converting a Javascript to Perl Cgi but dont know what function or command in Perl is similar to Math.floor() Thank you
  6. gm199

    Split problem

    Hi fellows. I'm open a html file and want to use the upper part only, just above a unique mark (<!-- SEGUNDA COLUNA -->) but I cant get it to work! This is the html: <html><head><title>my page</title></head> <body> this is my text<br> and more... <!-- SEGUNDA COLUNA --> this is junk<br> and...
  7. gm199

    Compiling Perl?

    Hi, all I saw a Perl script compiled for use in Windows with a graphic interface (runs like any other Windows program!). Can someone give some clue on how to compile like that? Many thanks
  8. gm199

    Time difference problem

    Hi all, I made a script that give me the hour:minutes of the beginning of the event and the hour:minutes of the end. Now I need to calculate the time difference between those times. Ie: Begins at 6:53 Ends at 19:02 Duration: ??:?? #(must show 12:09) In this case I change it to minutes and...
  9. gm199

    Including code on eery single page

    I need a help on how to setup Apache to append specific bits of html code on every single served page. This means I want to dinamically include a text file containing a navigation menu at the top of all pages. This will help me out to change the links without modifyng the pages or rotate...
  10. gm199

    Counting the Occurances of a Number in a String

    Basically what I need is to check the Lotto numbers against a database to see how many numbers I hit (how many are equal). I need some help on how to compare the values from the week's numbers and the ones I used to bet and show on the screen how many and what numbers. Ie. Lotto #s 3, 7, 18...
  11. gm199

    ucfirst

    I know Perl have the ucfirst function but I can't make it work properly when the string have more than one word. I'm using the following routine I found in this forum that is giving me another problem: is the data contains latin caracters, the very next will be upper case. ie. polêmica becames...
  12. gm199

    From Javascript to Perl

    I give up, I'm tired. I don't know js enought to translate a js code to Perl. Have anyone time and fair price to do that for me? The code have about 300 lines
  13. gm199

    I'm getting back a lot of returned

    I'm getting back a lot of returned emails (user unknown) from my maillist subscribers, so it's not a good idea to clean the database up by hand. The returned emails are in a database (in just one big file) and I want to extract only the email part from following lines, no matter what His name...
  14. gm199

    Dates calculation - today and N days

    Few days ago I was programing for a customer that asked to show entered data from a database fom today up to 7 days ago. Simples task, huh? I found no resorce with a routine to help me out nor intend to use a hole module just for that, then I come up with this stupid and simple solution that I...
  15. gm199

    Dynamic to static

    Hi folks, I have a fast growing guestbook and intend to save resources creating static plain html . Actually my script is reading the database and spliting it in several pages containing 8 entries each one with the proper links for navigation (1, 2, 3, 4 ... n) I can't figure out how to save...

Part and Inventory Search

Back
Top