11-13-2008
Quote:
Originally Posted by
NewDeb
I had already tried the carp::cluck("xx") and it doesnt work.
It works if you "use Carp;" and
Carp::cluck("xx") (but not just cluck("xx")). Mind the case.
I showed you the docs from the Carp module to tell you there are modules that require explicit import vs. auto-import. I didn't mean you need to use it in your programs.
No, you should not need to make any Makefile.PL if you are not planning to release it for distribution. Putting in current directory will always work. I have made numerous classes before but I have never found the need to create any Makefile.PL.
Either you post your module source code, or you ask the maintainer of the module how to use that module, because the maintainer should tell you how to use it (either through existing docs, test cases etc.)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible?
I have the following statement in my scripts
use myUtil;
I want to change it to
use myUtil777;
Regards,
Rahul (2 Replies)
Discussion started by: rahulrathod
2 Replies
2. Shell Programming and Scripting
Couple questions on perl module..
1)where is the best place on web where it tells you what modules can do?
For example,
use Text::Autoformat
Where is the best place on line or via command line to find the exact capability of autoformat?
2)Is there already a perl module to read *.cap... (1 Reply)
Discussion started by: convenientstore
1 Replies
3. Shell Programming and Scripting
Hi All,
I am using a perl module Win32::AdminMisc in my perl script.
When i running in activestate perl v5.10.0 it shows folling error ---
Can't locate loadable object for module Win32::AdminMisc in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at example.pl
Please reply.
... (7 Replies)
Discussion started by: suprcool
7 Replies
4. UNIX for Dummies Questions & Answers
Hi
i have written a perl script which was then converted to perl module by me. it works as expected. but i have to put it on many servers so i want to build a package for it. i dont know how to do that. just to check i copied perl module in "lib" directory which is working. ( directly copied... (1 Reply)
Discussion started by: zedex
1 Replies
5. Shell Programming and Scripting
Hi,
Please help me!!
Im wondering if anyone can help me with a problem i have with some perl modules.
My problem is:
I'm trying to connect remote host to a unix box from a windows machine. So i'm developing an application to do this.
I'm programming it in perl with tcl/tk Gui interface.... (13 Replies)
Discussion started by: Phi01
13 Replies
6. Shell Programming and Scripting
Hi,
I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this?
Thanks,
Js (1 Reply)
Discussion started by: jisha
1 Replies
7. Shell Programming and Scripting
All,
Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program.
Thanks,... (5 Replies)
Discussion started by: arun_maffy
5 Replies
8. Shell Programming and Scripting
I'm trying to create a perl script that will do 1 SSH session, but be able to write multiple commands to the session and receive multiple outputs. I know there are modules out there like Net:SSH::Perl, but I'm not allowed to use it. I was thinking of doing something like an open3 on an ssh... (4 Replies)
Discussion started by: mrwatkin
4 Replies
9. Shell Programming and Scripting
I am recieiving an out of memory issue in my perl module while updating the records in the oracle table. Let me know what are the check or troubleshoot steps need to be done from my end to fix the issue. (1 Reply)
Discussion started by: ramkumar15
1 Replies
10. Shell Programming and Scripting
I took the copy of the production module to the home directory and executing the module.
one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the below syntax is correct.
use strict;
use lib "/home/ssprod/ctskk";
use lib::Prdmsk;
... (0 Replies)
Discussion started by: ramkumar15
0 Replies
LEARN ABOUT DEBIAN
module::manifest::skip
Module::Manifest::Skip(3pm) User Contributed Perl Documentation Module::Manifest::Skip(3pm)
NAME
Module::Manifest::Skip - MANIFEST.SKIP Manangement for Modules
SYNOPSIS
From the command line:
> perl -MModule::Manifest::Skip=create
From Perl:
use Module::Manifest::Skip;
use IO::All;
my $mms = Module::Manifest::Skip->new;
# optional add and removes:
$mms->add('^foo-bar$');
$mms->remove('^foo$');
$mms->remove(qr/Qfoo/);
io('MANIFEST.SKIP')->print($mms->text);
DESCRIPTION
NOTE: This module is mostly intended for module packaging frameworks to share a common, up-to-date "MANIFEST.SKIP" base. For example,
Module::Install::ManifestSkip, uses this module to get the actual SKIP content. However this module may be useful for any module author.
CPAN module authors use a MANIFEST.SKIP file to exclude certain well known files from getting put into a generated MANIFEST file, which
would cause them to go into the final distribution package.
The packaging tools try to automatically skip things for you, but if you add one of your own entries, you have to add all the common ones
yourself. This module attempts to make all of this boring process as simple and reliable as possible.
Module::Manifest::Skip can create or update a MANIFEST.SKIP file for you. You can add your own entries, and it will leave them alone. You
can even tell it to not skip certain entries that it normally skips, although this is rarely needed.
USAGE
Usually this module is called by other packaging modules. If you want this to be used by Module::Install, then you would put this:
manifest_skip 'clean';
in your Makefile.PL, and everything would be taken care of for you.
If you want to simply create a MANIFEST.SKIP file from the command line, this handy syntax exists:
> perl -MModule::Manifest::Skip=create
BEHAVIOR
This module ships with a share file called share/MANIFEST.SKIP. This is the basis for all new MANIFEST.SKIP files. This module will look
for an already existing MANIFEST.SKIP file and take all the text before the first blank line, and prepend it to the start of a new SKIP
file. This allows you to put your own personal section at the top, that will not be overwritten later.
It will then look for lines beginning with a dash followed by a space. Like this:
- foo
- ^bar/
- ^baz$
It will comment out each of these lines and any other lines that match the text (after the '- '). This allows you to override the default
SKIPs.
AUTHOR
Ingy doet Net
COPYRIGHT AND LICENSE
Copyright (c) 2011. Ingy doet Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
perl v5.14.2 2011-10-08 Module::Manifest::Skip(3pm)