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 SkipVought 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. benkmann

    Looping only some layers

    hey all, Right now I have a problem with layers. I have two layers, and both contain animation of some sort. I want layer 1 to play once and stop, and layer 2 to loop indefintely. Now, I've searched for an hour on google, and many places said "use stop()", which I did, which stopped the...
  2. benkmann

    Mail::Send Not Working

    Hi all, I'm using the Mail::Send module, and it works fine, except it can't close the message and errors out. Here's the error: Can't call method "close" on an undefined value at Autologin2.pl line 88. > Terminated with exit code 9. Here's the relevant corresponding code: $msg = new...
  3. benkmann

    Optimizing PERL Program

    Raklet, Can you explain how that regex works? I'm especially confused about the /$1/, and the difference between .+ & .*. Thanks!
  4. benkmann

    Optimizing PERL Program

    Oh wow, that worked wonders! Here's my modified code: use warnings; use strict; use LWP::Simple; # forget print buffering, let's see the results as they happen $|++; my $base_url = "http://www.sec.gov/Archives/"; my $data_file = '2005_q1.txt'; my $no_date = 0; my $total = 0; open DATA...
  5. benkmann

    Optimizing PERL Program

    Update: I now run it locally, using Trojan's (<DATA>) loops, and the program successfully ran in several hours. One possibility in making it more efficient is can I read the file remotely, without having to copy the whole file to my disk? That is, access the file and read it line by line...
  6. benkmann

    Optimizing PERL Program

    Sure! (BTW: Each url needs to have http://www.sec.gov/Archives/ added to beginning) ------------2005_q1.txt--------------- 10-K 1 800 CONTACTS INC 1050122 2005-03-17 edgar/data/1050122/0001047469-05-006925.txt 10-K 1ST...
  7. benkmann

    Optimizing PERL Program

    LOL. Trojan, I never insisted on anything, I told it like I wrote it. That's why I come to these forums, someone may easily see a solution that I'm not seeing or was ever exposed to. So, thanks for the while loop, I'll try that out and will update! Now, do I need to process the whole file...
  8. benkmann

    Optimizing PERL Program

    Hey guys, I'm writing a program in PERL that opens up a large txt file that is made up of lines of names & urls. It needs to access each URL and pull another line from the URL. Currently, the program uses LWP:simple and uses getstore() to store the URL in a file. THe program then reads the...
  9. benkmann

    Frustrated C++ newbie!

    Yeah, I know what you're talking about with Express. You can build & compile programs just fine, but they're really only for debugging purposes. If you want to distribute programs, Microsoft wants you to buy their software. And they do that by compiling the program with a requirement oddball...
  10. benkmann

    Bad Ptr

    Hey all, So I'm attempting to re-write a former program with dynamic linked lists. It compiles fine, but crashes soon into run-time. Here's the error it gives me for a class "CustomerAccount", that has private members _username, _password, and AccountList*: customer 0x0012faf8...

Part and Inventory Search

Back
Top