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 have sourcing script source.csh,in perl i sourced by using the system("csh source.csh")but when sourcing is done it was not setting any required variables, but wen i ran a script in exterm using source source.csh the required vairables are available but in perl source is not supporting how to solve this issue plaz help.....
I am able to read the variables from excel and print them in the above program
but I want to read these variables(from Variables to read from Excel sheet :) value from Input data (from My input data to search from:) and put them back into excel sheet which I am not able to do. can some one pls help on the same ?
Variables to read from Excel sheet :
My input data to search from:
8077 8116 D type hexa usim = 1, isim = 1
8077 8116 D type hexa usim = 1, isim = 1
pcscf_v4 : num = 2, protocol_type = 0x21, port_num = 0, addr = 10.56.5
8088 1223 D temp sim_invalid = 0
8099 1223 XX is_ems_support = 1 #88
8099 1224 XX pdn_act_ind->pcscf_discovery_flag = 1
ind->signaling_flag = 1
some text here plmn = 405872
DefaultStatusBarPlmnPlugin: into updateCarrierLabel
ipv6 = 220.127.116.11.18.104.22.168.0.0.0.0.22.214.171.124
ipv4 = 10.167.185.101
Lately I have been bombing the forum with questions but no matter how much I experiment with my code I can not figure out the solution(s) to my problems this is why I keep asking questions over and over.
To the question, I have a hash of hashes with hundreds values on each hash. I want to use a negative condition on both detecting white space character or non printable character. In such a case I want to delete the element from the hash (if does not contain white space character or non printable character).
I tried the conditions separately and they work just fine, at least based on my experimentation examples. I need to combine them in a nested if because a value with no spaces it does not mean that it does not contain special characters.
Trying to write a perl code which browses all the files
recursively under a given input directory and do the following:
- Parse all the list of module names.
- Parse all the instance names inside each of the modules.
Kindly let me know where am I going wrong!!
And guide me for obtaining the correct output.
PDF::PDFUnit let's us verify PDF documents using perl. It seems to do a good job, except for the notContaining function. It seems to always return true (here a rewritten version of 01-load.t). The basic idea is to detect presence of unwanted words, such as the name of the former CEO:
$ cat t/01-test-mod.t
use PDF::PDFUnit qw(:skip_on_error);
my $resources_dir = File::Spec->catfile($FindBin::Bin, 'resources');
my $pdfReference = "$resources_dir/reference.pdf";
} "containing Hello";
} "notContaining Hello";
diag $@->getMessage() if $@;
$ perl t/01-test-mod.t
ok 1 - containing Hello
ok 2 - notContaining Hello
My interest is in critical sections in the Perl interpreter itself. I was asked by a friend, why after starting 150 web spider threads, his system would bog down until it seem to stop, but was still running?
I proposed that each of those threads was a separate process, with each having a full Perl interpreter. But they were all sharing the same .so libraries, and the number of critical sections(CS) that the interpreter had to go through would create single file bottle-neck after bottle-neck.
Are there CS in the interpreter? Are there certain functional areas that have significantly more CS than others
It is always better to have seen your target for yourself, rather than depend upon someone else's description.
Forks.pm is giving me problems with MAKER again, you'd think I would become a Perl coder instead of jsut a Perl user by now...
I tried running MAKER on a new cluster I installed it on and got the following response for every MPI process I created
Can't locate forks.pm in @INC (you may need to install the forks modul
+e) (@INC contains: /Data/Apps/maker/bin/../perl/lib /Data/Apps/maker/
+bin/../lib /Data/Apps/maker/bin/../src/inc/perl/lib /Data/Apps/CEGMA_
+v2.5/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/l
+ocal/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/shar
+e/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr
+/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /Data/
+Apps/maker/bin/maker line 42.
when i am trying to connect to oracle using oracle wallet it ends with below error
ORA-12534:TNS:Operation not supproted (DBD Error:OCISessionBegin).
but in sqlplus i am able to connect via connection string using wallet.
DBD-Oracle version --- 1.21
can some guide on this to get it resolved