Hi gurus,
I need to create "n" mulitple threads simaltaneously and all the threads
should do same operation(just like Jmeter).
i have a subroutine
sub printname{
my ($tid)[EMAIL PROTECTED];
print "name is guru tid is $tid\n";
}
all the threads
hi gurus,
I want to create 100 threads/processes simaltaneoulsy (at the same time),
and those 100 threads/processes should execute a subrountine at the same
time.
can anybody help me giving some ideas reagarding this, I tried creating this
100 process using fork in a for loop but that does no
Hi Gurus,
I am accessing a web page http://www.outsidedomain.com using
LWP::userAgent.
I am getting 407 ISA authentication required/500/501 errors after
understanding our network set up , I understood that i need to do NTLM proxy
authentication.
I used module NTLM::Authen, but no luck.
Can som
hi All,
I need to get current time in milliseconds.
Any pointers would be highly appreciated
thanks,
siva
Hi All,
I am able to create simaltaneous threads and access a subroutine(which
performs firing of reqeusts). with the created threads.
Some time I get the following error *"Free to wrong pool 225f40 not 13ddbd50
at C:/Perl/lib/constant.pm line -1." .*Whats the reason for the error?
**
Please chec
Hi All,
I am able to create simaltaneous threads and access a subroutine(which
performs firing of reqeusts). with the created threads.
Some time I get the following error *"Free to wrong pool 225f40 not 13ddbd50
at C:/Perl/lib/constant.pm line -1." .*Whats the reason for the error?
**
Please chec
Hi All,
I am trying out a jmeter like tool with perl.The following are the tasks
that my perl script needs to do.
1) Fire specified number of http requests in one second.
2) log the response times of the request.
3) the Thread should be freed once it completes the task.
The following are the is
Hi All,
I dont see error if i run the same script on Linux.
But it still firing 100 requests in 6 seconds insted of 1 second.
Any pointers on this?
Thanks,
PP
On 12/30/08, zentara wrote:
>
> On Tue, 30 Dec 2008 14:47:08 +0530, perl...@gmail.com ("perl pra")
> wrote:
>
Hi All,
I dont see error if i run the same script on Linux.
But it still firing 100 requests in 6 seconds insted of 1 second.
Any pointers on this?
Thanks,
PP
On 12/30/08, zentara wrote:
>
> On Tue, 30 Dec 2008 14:47:08 +0530, perl...@gmail.com ("perl pra")
> wrote:
&g
Hi
I have a pel script I want to execute this perl script on remote machine
and get the information related to remote machine.(both local and remote
machines are Windows machines)
Hwo can i do that
thanks,
PP
Hi All,
Can anybody help in accessing the registry of remote windows machine and get
the keys in the folder *HKEY_LOCAL_MACHINE/SOFTWARE *
**
I have tried using win32::Registry, but i am getting the error "cannot open
the registry",But the same script works if i assign $node to my local Ip.
Can
Hi Jenda,
I get the same error even if i remvoe the backslashes.
Thanks,
siva
On 2/6/09, Jenda Krynicky wrote:
>
> From: perl pra
> > Can anybody help in accessing the registry of remote windows machine and
> get
> > the keys in the folder *HKEY_LOCAL_MACHINE/SOFTWAR
Hi All,
Can anybody help me in MSI Installer Automation. How can i do that in perl.
Is there any module which does that .
Thanks in Advance,
Siva
Hi Gurus,
I need to connect to MSSQL SERVER (express edition on remote system) through
a perl script. But I get the following error with the code below can any
body help me in that.
ERROR
Use of uninitialized value $Win32::ODBC::ErrConn in concatenation (.) or
string
at C:/Perl/lib/
Hi Gurus,
I need to connect to MSSQL SERVER (express edition on remote system) through
a perl script. But I get the following error with the code below can any
body help me in that.
ERROR
Use of uninitialized value $Win32::ODBC::ErrConn in concatenation (.) or
string
at C:/Perl/lib/
connections from remote machines/hosts out-of-the-box.
>
> Look up the Microsoft KB article and turn-on support for remote connections
> and then try.
>
> http://support.microsoft.com/kb/914277
>
> -- Jayesh
>
>
>
>
> - Original Message
> From: perl pr
Hi gurus,
Can I drag and drop a text using win32::IE Automation.here is my
requirement.I have a text in a table i have to drag and drop that text into
another area of webpage.
Can i do that using Win32::IEAutomation?
Thanks in Advance,
PP
you can also Tie::File.
On Wed, Jun 17, 2009 at 2:42 PM, Irfan Sayed wrote:
> Hi All,
>
> I am struggling with file handling in perl. i want to do following
> operation .
>
> 1: open the file
> 2: read the file
> 3: do the changes in specific lines
> 4: save the file
> 5: close the file
>
> i am
Hi all,
I have a windows webService which i wanted to consume through
perlclient.Below are the details.
I have a windows webservice, Now i wanted to test these services, I wanted
to consume them with perl client, These webservices are WSSE authenticated.I
have tried with SOAP::Lite to generate t
>
> Hi all,
>
> I have a windows webService which i wanted to consume through
> perlclient.Below are the details.
>
> I have a windows webservice, Now i wanted to test these services, I wanted
> to consume them with perl client, These webservices are WSSE authenticated.I
> have tried with SOAP::Li
Hi all,
I have a webserives built in .NET and WSE authentication which i wanted
to consume through perlclient.Below are the details.
I have a windows webservice, Now i wanted to test these services, I wanted
to consume them with perl client, These webservices are WSSE authenticated.I
have tried
Hi Gurus,
I have installed "ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi" on
WindowsServer 2008 64-bit OS. I can run the scripts that I have written on
32-bit OS,My query is whats the processes of installing perl modules on
64-bit OS. In 32-bit we use nmake to install, how to install modules on
Hi Gurus,
Can anybody let me know how can I download attachment of a .eml file using
perl script to a specified location.
Thanks in Adavance
PP
Hi All,
I need to execute "*psexec.exe"* which is in C:\Windows\system32 through
perl scirpt.
.I am getting the error "*'psexec' is not recognized as an internal or
external command,operable program or batch file"*
Below is the perl script.
--- SNIP
#!/usr/bin/perl -w
use strict;
use warnings;
ght telnet-replacement that lets you execute ... Just copy
> PsExec onto your executable path. Typing "PsExec" displays its
> usage" (From the fine on-line documentation.)
>
> Sounds like you have an installation issue
>
>
> B
>
>
>
>
> On
Hi All,
I have a .eml file which has either PDF/xls attachment,
I want to strip this attachment from .eml and store in the local hard drive.
I have tried it with the Email::Attachment::Stripper with no luck.
please help me in this.
Thanks,
siva
Hi All,
I am having a problem while isntalling Bugzilla , Checksetup.pl throws
errors and exits.Below is the detail.
when I run checksetup.pl in bugzilla folder I get the following error,
Though I have installed latest DBD-mysql which is available in CPAN.
ERROR ---
> Hi All,
>
> I am having a problem while isntalling Bugzilla , Checksetup.pl throws
> errors and exits.Below is the detail.
>
> when I run checksetup.pl in bugzilla folder I get the following error,
> Though I have installed latest DBD-mysql which is available in CPAN.
>
> ERROR
Hello Gurus,
I have a html page which has hyper links only it does not have any images.
I have to read the html file get the names of the hyper link that is
displayed in the page ,create a directory structure and tar/gz the files.
( I have the directories in server with same names which are di
hi Mihir Kamdar,
Please the following highlighted.
I have tested it. this excatly does what you need.
configure the parent_path,child_path and out_path to your corresponding
paths.
_ BEGIN
use strict;
use File::Path;
use File::Copy;
use warnings;
my $parent_path="C:/
hi Mihir Kamdar,
Please the following highlighted.
I have tested it. this excatly does what you need.
configure the parent_path,child_path and out_path to your corresponding
paths.
_ BEGIN
use strict;
use File::Path;
use File::Copy;
use warnings;
my $parent_path="C:
Hi Jeevan,
may be this code would help you.
I tested the code and it works fine.
You can specify start and end months that you want to capture the logs from
log file.
Change the following peice of code to the one which you want..
$2 <= 8) && ($2 >= 7)
The format is
$2 <=&& $2 >=
Hi
Please try the following
___ BEGIN
$value = "12345)" ;
chop $value;
print "$value";
___ END
On 8/2/07, Bret Goodfellow <[EMAIL PROTECTED]> wrote:
>
> Okay, I know this has to be simple, but because I am trying to truncate
> or remove a special character
Hi Gurus,
I want to execute some of the unix commands on windows, Presently we are
using Cygwin to run unix commands on Windows.
Now I need to convert all the shell scripts into perl scritp. Is there any
module in perl which allows me to execute unix commands on Windows.
My windows version Wi
hi jhon,
If I use use opendir/readdir I am getting the default directories . and ..
into the directoy handle.
Is there any way tha i could eliminate this.
For example if i want to copy all contentents of the directory(including
sub directories)
I open a directory Handle using opendir and read
Thanks a lot
Regards,
Siva
On 8/6/07, Mumia W. <[EMAIL PROTECTED]> wrote:
>
> On 08/06/2007 12:32 AM, Jeff Pang wrote:
> > [...]
> > while(my $obj = readdir DIR) {
> > next if $obj =~ /^\.+$/; #or [...]
>
> More, precisely, you might use this:
>
>next if $obj =~ /\A\.\.?\z/;
>
>
>
>
Hi Gurus,
I need to write a perl script for a web spider that will crawl the web
looking for specific file(s) that I specify (such as .mp3) and store the
URL's into a mysql database. This needs to work on a linux server. I will
also require a skip list that will skip certain sites that I input in
Hi Gurus,
I am aware of perl, Now I need to code in perl using oops.
I have few queries Please clear my queries.
What is bless?
When bless used, What differene it makes if we bless a variable?
How do we create a constructor of class.
How do we call a method in class.
how do we use public pri
Hi gurus,
I need to test non-SOAP webservices.Can anybody tell how could i do that in
perl.
basically i need to send the following xml file as pay load to the url.
-
http
Hi gurus,
I wanted to modify xml file against xsd is there any perl module.
Below are the details:
XML file
---
http://services.ws.faculte.com";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:ws="Webservices.xsd">
1
XSDFile
-
http://services.ws.faculte.com/
Hi gurus,
I wanted to validate xml file against specified xsd file.
Is there any perl module which does this?
Below are the details:
XML file
---
http://services.ws.faculte.com";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:ws="Webservices.xsd">
1
XSDFile
--
Hi Gurus,
I have a wsdl file i need to do the following in perl.
I need to convert the wsdl into perl object or perl code.
Then user perl object/perl code to generate the request xml files with
different data types into the tags.
can anybody give me some idea or Is there any other way of doing
Hi Gurus,
How can I bless a hash.
below is my code:
package load;
use strict;
use warnings;
sub new {
my $class=shift;
my %samp=('1' => "xxx", '2' => "");
}
sub print {
here i need to print $samp{1}
Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 15, 2008 at 9:54 AM, perl pra <[EMAIL PROTECTED]> wrote:
> > Hi Gurus,
> >
> > How can I bless a hash.
> >
> > below is my code:
> >
> > package load;
> >
> >
Hi
please check the following script , you need not to handle null because it
is in quotes,I have tested the following code it works fine
use strict;
use warnings;
my %has;
my $NULL=0;
(open my $FH, '<', "mail.csv") or die "$!";
while(<$FH>)
{
my($one,$two,$three)=split(/\,/,$_);
$has{$one
hi ALL,
I am new to perl and I need some help from you guys,
I have text file which looks like following(its about 100 lines)
OUTPUTDIR=C:\Project\Module\outputdir
INPUTDIR=C:\Project\Module\Inputdir
Now I have to use each and every line of the text file in my perlscript as
command line argum
hi ALL,
I am new to perl and I need some help from you guys,
I have text file which looks like following(its about 100 lines)
OUTPUTDIR=C:\Project\Module\outputdir
INPUTDIR=C:\Project\Module\Inputdir
Now I have to use each and every line of the text file in my perlscript as
command line argum
thanks a lot .
it works..
--perlpra
On 10/14/06, Dr.Ruud <[EMAIL PROTECTED]> wrote:
"perl pra" schreef:
> Subject: READ TEXT FILE AND SET EACH LINE AS ENV VARIABLE.
Don't shout.
> Is there any other way of using the values in text file as varibales
> in
hi All,
I have to call some perl scripts with command line arguements from another
perl script.
(some thing like this)
perl -s -a $ENV{X} -b $ENV{Y} -c $ENV{Z} ; ( -a , -b, -c are also the
arguments to call the script)
( the $ENV{x}=C:\xyz\abc,$ENV{Y}=abc,$ENV{Z}=5).
I understand we
hi All,
I have to call some perl scripts with command line arguements from another
perl script.
(some thing like this)
perl -s -a $ENV{X} -b $ENV{Y} -c $ENV{Z} ; ( -a , -b, -c are also the
arguments to call the script)
( the $ENV{x}=C:\xyz\abc,$ENV{Y}=abc,$ENV{Z}=5).
I understand we
hi ,
I want to pass a command argument to perl script with double quotes (" );
below is my scenario
my xml file is something like this ..
123
this is my name
234
this is others name
my perl script is something like this
my $xmlfile = "./samp1.xml";
my $ref =
s if i run it in unix or
linux iam getting the following error
kill: "`awk" is not a job
kill: "{print }`" is not a job
grep: write error on standard output: The pipe is being closed.
need solution for above .
and Is there any way in perl to kill processes independent of OS .. If there
is hwo can i do that ?
wating for solutions.
Thanks
Perl Pra
s if i run it in unix or
linux iam getting the following error
kill: "`awk" is not a job
kill: "{print }`" is not a job
grep: write error on standard output: The pipe is being closed.
need solution for above .
and Is there any way in perl to kill processes independent of OS .. If there
is hwo can i do that ?
wating for solutions.
Thanks
Perl Pra
hope that explains the problem i have..
Is there any other way to solve the problem ...other than the way which i am
employing..
I am stuck up. please give me some solution.
Waiting for solutions..
Thanks in advance
Perl Pra
On 10/26/06, Mumia W. <[EMAIL PROTECTED]> wrote:
On 10/26/2006 0
hi gurus,
I have problem in type casting, here is the problem..
I get two values after greping and spliting a file( the values are some
thing like this "367" and "522>\n")
fetching of those two values from file would be in loop ..
now for each interation i have to compare these values and r
Thanks John
it worked
Rohit
On 11/22/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
perl pra wrote:
> hi gurus,
Hello,
> I have problem in type casting, here is the problem..
That is not your problem.
> I get two values after greping and spliting a file( the values a
hi Gurus,
I have a problem to replace strings of file thru perl script.
Here is the problem in detail...
I have a text file some thing like this..
PROJ_FOLER=C:\Proj
PROJ_LOGS=C:\PROJ\LOGS
I have same line in config file some thing like this.
PROJ_FOLDER=D:\Proj
PROJ_LOGS=D:\PROJ\LOGS.
thanks rob and Samstag..
have done it
thanks a lot.
On 11/25/06, Rob Dixon <[EMAIL PROTECTED]> wrote:
Mumia W. wrote:
>
> On 11/25/2006 06:40 AM, perl pra wrote:
>>
>> Here is the code i have written...
>>
[snip]
>>
>> open $LOGFILE, '<
Hi Guru,
I have a problem with reading xml file which has foriegn characters (like
plutôt) using xml::Simple.
I get xml read error.
Then I included encoding=iso8859-1 at the top of xml file.
I am able to read the xml file , but the characters are changed to plut?t
instead of plutôt, Becaus
Hi Gurus,
I have a problem with reading xml file which has foriegn characters (like
plutôt) using xml::Simple.
I get xml read error.
Then I included encoding=iso8859-1 at the top of xml file.
I am able to read the xml file , but the characters are changed to plut?t
instead of plutôt, Becau
Hi Gurus,
I have written a program that uses XML::LibXSLT. When i Run the program it
complain about not findind the XML/LibXSLT @INC.
I have installed perl-libxml and perl-lib-xslt successfully .Still my perl
progam complains about XML::LibXSLT not installed.
1) * when I run Perl MakeFile.PL t
I am using Win32::IE Automation to automate login of a page.
I could provide username and password in the respectivve fields,But the
login is a image on which I need to click. Below is the page source for
that login image .
So to click on the image I am doing the following.
I used $ie->getIm
62 matches
Mail list logo