you have a question on how to do something in Perl, or
you need a Perl solution to an actual real-life problem, or
you're unsure why something you've tried just isn't working...
then this section is the place to ask. Post a new question!
However, you might consider asking in the chatterbox first (if you're a
registered user). The response time tends to be quicker, and if it turns
out that the problem/solutions are too much for the cb to handle, the
kind monks will be sure to direct you here.
I found that one my little application, which maintains kind of 'seen' hash, gets nice boost if hash keys are packed as above, instead of 'just used as they are'. Actually, keys are pixels coordinates, they became real numbers because library I use returns them so. Pixels are usually aplenty and hash is accessed a lot, therefore speed gain was significant. But of course it would be even faster if PV was added on first access and POK was set, i.e. without packing.
Hi dear all
Assuming I have this array and hash.
My @array = qw(world today is nice);
my %hash = (0 => "Hello", 1=> "world" , 2=> "today" , 3=> "is" , 4=> "nice" );
I want to search thought the hash values using the array elements as values and then print the hash keys for each searched value from the array in a new array.
It should print 1 for world, 2 for today, so on which will be saved in the new array
I tried to use lookup with loop thought the array but it did not work.
I used grep also, but did not hot what I want
Any idea about how I can do it???
Thanks in advance
My problem is that only 'SOAP-ENV:Body' is always signed as default even i set more types.
Inside of source code I've found more parameters like sign_when and sign_put.
Don;t know how to use it and documentation is very poor
I have a perlscript which is connecting to urls and downloading the contents of that.The script we are running in unix environment connecting through the proxy server.For http urls it is running fine, but when i gave https url its throwing error like "500 cannot connect to url". I am using WWW::Mechanize module and LWP 6.04v in the script. Can anybody suggest the solution for this? and what are the possible ways to get 500 connection issue?
I am planning to replace a automation tool with Perl scripts. So I have to schedule Perl scripts to run. There are two types of task one which are triggered via input mail another are to be run on a particular time and day of the week.
I am planning to make a .bat file which calls the respective script to be scheduled using Windows Task Scheduler. Wanted suggestions from you guys as will it be a good idea can there be complexities like:
- Scripts running in parallel can cause error by reading and writing from each other excels.
- Will the scripts run even if the system is locked? It runs but Win32::OLE scripts stuck sometimes.