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 Chriss Miller 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: *

  1. howdthattaste

    controlling external programs/commands

    OS:Win Xp My example here seems pointless, but the method (if possible) would solve my problem. In windows, we have the command 'pause'. Its simple, and usually used at the end of batch files. You can also type it on the command line. At which point you're prompted to "press any key to...
  2. howdthattaste

    Convert serial [date] to text [date]

    how do I pass perl 39016 and convert it to 10/26/2006 ? (similar to excel's DATEVALUE function.) Is there a function or variation on localtime() to do this? i have this feelign i need to add some padding zero's to begging or end... thanks in advance ---------------------------------- "Not New...
  3. howdthattaste

    matching on mulitple lines

    hello, i have an interesting question, which, knowing perl, is probably summed up in nice easy to implement function already hammered out ages ago. the question (which isn't that helpful at first) is: how do i match on multiple lines? for example if we have the lines: 0001233 - [this is text...
  4. howdthattaste

    FTP Timeout option

    Hello, I have a script that will run through a list of filenames to get() from the ftp site. The ftp site is known for being unreliable at times. I need a way to skip over a file that is taking to long (or there was an error) and retry it later. I thought that if the timeout limit expired, it...
  5. howdthattaste

    sorting by multiple columns

    hello, maybe its just me, (well im pretty sure its just me) but i'm having a hard time trying to figure out the best way to sort a particular text file. sample race data: (name,sex,state,secs) Sally,female,indiana,26,23443 Mike,male,ohio,23,23423 Jim,male,indiana,29,12355 etc... so lets say...
  6. howdthattaste

    perl one line string replacement (mulitple?)

    hello is there a way to do multiple string replacements in one line? sentence: "The dog ran into the dog store." rule: Always replace 'dog' with 'cat' and always replace 'store' with 'shop' my guess: $string =~ s/dog/cat/store/shop/g; something like that... I guess, if its possible, im...

Part and Inventory Search

Back
Top