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 Mike Lewis 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. JD9955

    .NET browser object for complex work

    Hi All, I am after a result which will mimick the following perl code in .NET (using a browser object) (i.e. LWP) ########################## use lwp::useragent; my $ua = new lwp::useragent; my $response = $ua->post('https://www.example.com/Login.htm', { param1 => 'value1', param2 =>...
  2. JD9955

    LWP and .NET / Java

    Hi All, I have asked this to many .NET and Java programmers and they just cant seem to grasp my requirement, so I will ask my trusty Perl buddies who will be able to relate better (from the perl side of things).. I am after a result which will mimick the following perl code in .NET (using a...
  3. JD9955

    Save XLS as Web Page

    Hi All, I currently need to save an xcel file to a web page (.htm). Example: I have fileA.xls and wish to imitate a "Save As" in xcel to create fileB.htm. I cannot just rename the file to a .htm as it does not include the formatting of a html web page.. has anyone performed this before ...
  4. JD9955

    concurrent processes.

    Hey Kirsle, yeah i tried wperl too, but with threads, it opens the command window in which you specify “wperl P1.pl” and the window stays open until the threads finish their jobs. The thread windows also open up until they finish their individual jobs.. This is my layout: Run.bat (which...
  5. JD9955

    concurrent processes.

    I forgot to mention , that if its still possible to do this using: #### BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow }; #### As i have been hitting my head against a wall with Win32::GUI and Win32::API for the last 2 hours.. cheers :) JD
  6. JD9955

    concurrent processes.

    Hey Guys, The threads have been working good, however I am trying to get the consoles to be "invisible" when loaded.. I had the following code: ########################## BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow }; system "perl P1.pl" || die...
  7. JD9955

    concurrent processes.

    thanks all, the cpu time switching with the threads is much faster than the processes (i.e. fork) .. much appreciated :) A + Kirsle.. -JD
  8. JD9955

    concurrent processes.

    Thanks Travs69,, much appreciated :) I have the following code: ***************************************** my $i; my $pid = fork(); if (not defined $pid) { print "resources not avilable.\n"; } elsif ($pid == 0) { $i = 1; while ($i != 10000) { print "A"; $i++; } exit(0); } else {...
  9. JD9955

    concurrent processes.

    Hi All, I am after a way in which I can run 2 perl programs in parallel.. Currently I have the following code which executes 2 programs consecutively, (not concurrently) .. While (1 = 1) { system "perl Program1.pl" || die "Cannot open"; system "perl Program2.pl" || die "Cannot open"; sleep...
  10. JD9955

    W2K and AIX Perl

    hi, thanks feherke,, much appreciated :) .. i am using the Win32 library, but i spose once i remove that, it should be fine in AIX .. cheers :) JD
  11. JD9955

    W2K and AIX Perl

    Hi All, I have just written a perl program in windows to be run on a W2K machine.. I am wondering if this same program can be run on an AIX machine too? sorry, I am very new to perl.. thanks all :) Regards, JD.
  12. JD9955

    How to start invisible perl process?

    ok thanks ,, got it. i used wperl for the main console, and then the following code for the child processes: BEGIN { Win32::SetChildShowWindow(0) if defined &Win32::SetChildShowWindow }; thanks :) JD
  13. JD9955

    How to start invisible perl process?

    hi all, I am wondering how I can start a perl process which doesn’t show a general cmd screen.. Eg, at the moment I have a perl program that doesn’t write output to a screen (only a file). This program forever loops and writes to a file. Now, I have a batch file which contains the following...
  14. JD9955

    Timer starting and stopping

    Thanks Miller, much appreciated :) Regards, JD
  15. JD9955

    Timer starting and stopping

    Hi All, I have a request that hopefully someone will be able to help out with.. Involving Timers. I need to perform the following: Start 10 second timer loop # Perform logic (i.e. send request to webserver and wait for response) If response comes back within the 10 second timer (i.e...

Part and Inventory Search

Back
Top