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 =>...
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...
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 ...
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...
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
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...
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 {...
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...
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.
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.