Can't locate CM.pm in #INC in perl [closed] - perl

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I am trying to run perl script which contain use CM, use CM_USER and use CM_METRICS statement and I am getting error "Can't locate CM.pm in #INC". I have also tried to install these using CPAN but it also giving me error "cannot install".

You won't be able to install them from CPAN because they don't look like they are on CPAN.
Where did you get this program from? You'll need to ask the author where you can get the modules from.

Related

Can't use array as an reference SnortSnarf HTMLMemStorage [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I'm trying to install SnortSnarf and I'm getting the following error on Ubuntu, next to the terminal is the HTMLMemStorage.pm file.
I've tried playing around with Line 290 but none of it worked and there doesn't seem to be any solutions I could find online about this. I've tried https://www.linuxquestions.org/questions/linux-security-4/snortsnard-generation-problem-111708/ and CGI error Can't use an array as a reference but it's not deprecated so I'm not sure how to go from here.
The left-hand side of -> must be an expression that returns a reference.
I think you want
$arr->[...]

How to get stack trace for all warnings? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Is it possible to get a stack trace printed for all warnings?
I can get it for all errors with: perl -MCarp::Always my_script.pl
But how can I get it for warnings?
perl -d:Confess script.pl
from http://search.cpan.org/~haarg/Devel-Confess-0.006001/lib/Devel/Confess.pm

What does perl configure mean [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Forgive me this newbie question.
After installing ActivePerl for Windows. I try to understand the command perl configure .... with the command perldoc perl. But didn't found anything about configure option. I also try the command perldoc perl configure. But It doesn't work. Shows No documentation found for "configure".
From http://community.activestate.com/node/7573 it looks to me like the Configure being talked about is a script included with and used to build the OpenSSL source; it is not part of perl or the perl distribution.
Though the perl source does include a Configure script, that is a shell script used to build perl itself, and nothing to do with the Configure you are looking for.
I don't know what the configure.pl you see is, but it is also likely not what you are looking for.

Pytest: How to create standalone py.test script with plugins [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I have a jira-pytest pluging.
I want to generate runtests.py script containing that plugin. How it can be done?
Unfortunately the generate function does not currently bundle plugins as far as I know. One could work around this by vendoring the plugin (or as it sounds like in this case the plugin is already shipped) and then enabling it in a conftest.py using the pytest_plugins variable. If the plugin is on the PYTHONPATH (which it will be if it is in the same directory as the module/package being tested) then py.test will import and enable it. See http://pytest.org/latest/plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file in the documentation for details of this.

How to create a log file in Matlab [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have inherited multiple scripts in Matlab and sometimes it's tricky to trace where the execution is happening. I would like to create a log file to show where it is in the execution, show warnings and show errors and date and time stamps. [Note: I'm using Matlab R2012a].