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 IamaSherpa 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. lmb5kids

    Java Problem

    IE is locking up. When it locks up I cannot close down IE, I have to hard boot the system. I can get it to lock up by switching betweens sites at a fast rate. Below is the error log that java has produced. I have tried uninstalling and reinstalling java. The system has been rebuilt 3 times. Can...
  2. lmb5kids

    script error

    the 5.003 did not have the Getopt::Std , so I referenced one of our older perl scripts and saw it was calling on this : require "getopts.pl"; I changed the script and changed the h_Options to opt_B and opt_N . thanks,
  3. lmb5kids

    script error

    ok , the 5.003 did not show any version. Thanks for the tip that helped me. I have it figured out now. Thanks for all your help.
  4. lmb5kids

    script error

    put that code in and it tells me it found options N and P on the 5.80 version but of course on the 5.003 those options arent being set to anything ? thanks
  5. lmb5kids

    script error

    can you give me an example of breaking line 9 out into if statements please ? I just don't understand how it works under 5.8.0 and not 5.003 ? Thanks
  6. lmb5kids

    script error

    ok , Trojan that fixed the errors , Thanks, but now I have another problem the script doesn't work - all it does is print out the usage now? It works fine on 5.8.0 ..
  7. lmb5kids

    script error

    I tried that and it still gives the same error.
  8. lmb5kids

    script error

    #!/usr/bin/perl use Getopt::Std; use strict; #use warnings; my(%h_Option); { (getopts('N:P:h',\%h_Option) and (defined $h_Option{N} && defined $h_Option{P})) || PrintUsageAndQuit(1); PrintUsageAndQuit(0) if $h_Option{'h'}; # Help doesn't need arguments }...
  9. lmb5kids

    script error

    can someone help me with this error please : Global symbol "i" requires explicit package name at showcode.pl line 24. Variable "$i" is not imported at showcode.pl line 24. I can get my script to run fine with perl version 5.8.0 but when I try and run it on version 5.003 I get that error. Thanks
  10. lmb5kids

    read data file

    each section has a set number of lines : first 32 lines are names then each section after that is 34 lines: first 2 lines are product name and product number next 32 lines are codes that correspond to the 32 names listed first.
  11. lmb5kids

    read data file

    thanks, hopefully after the weekend someone can shed some light on this for me.
  12. lmb5kids

    read data file

    forgot to say that the -2 are considered blank or open records for names
  13. lmb5kids

    read data file

    ok here is an example of the file : MIKE JOHN SALLY SUE DUDE BONNY BOB LORI MIKE JIM JAMES BO TOM BETH JON CHRIS GREG SAL TIM LARRY -2 HARRY KIP POP DON COLT RON -2 -2 -2 -2 -2 MOW <----- 1st product starts here MOWER BLADE 23 MOW 221 * * * 9 * * 3 * * 03 * 03 01 * * * * * 028 * * *...
  14. lmb5kids

    read data file

    unfortunately there is no way to reformat the data , this is how the file is currently layed out.
  15. lmb5kids

    read data file

    thanks for the tip , I am still a little confused on this though. The first 30 lines of the file are going to be the Name1-Name30 and they are not going to be in the same order all the time, so I would I go about that?
  16. lmb5kids

    read data file

    thanks for the reply. I still need help on the perl program.How do I associate the Name? with the product code ?
  17. lmb5kids

    read data file

    I would like to give the program an arguement like this : program.pl -nName1 -pProductName1 and it would print out something like this : Name1 ProductName1 ProductNumber1 ProductCode1 Thanks for your help
  18. lmb5kids

    read data file

    I need some help getting started on how to read and format a data file. The data file contains names listed at top of file followed by products ,product numbers and UPC. The file layout is listed below : Name1 Name2 Name3 ProductName1 ProductNumber1 ProductCode1(links to Name1)...
  19. lmb5kids

    reading and formatting lines from a file

    thanks to both of you they both work great.
  20. lmb5kids

    reading and formatting lines from a file

    thanks to both of you those both work great. How would I go about putting all the matches on 1 line with a comma seperating each match : 99.99G,88.88G,99.99E, etc. Thanks again.

Part and Inventory Search

Back
Top