Problem: I have a shell script that will be called by a Perl module that will connect to a db and delete rows. The Perl module will be called by CRON. I am using a Perl module to call a shell script because I need to get the db connection from Perl.
Here is the Perl pseudocode:
... (4 Replies)
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)
Hi,
I have the following simple CGI script, just containg header:
#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;
I also have included this directive in ~/public_html/.htaccess :
SetEnv PERL5LIB... (0 Replies)
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)
Hi Guru's,
Pardon me for the breach of rules.....
I have very little knowledge about Shell Programming and Scripting hope you guys help me out of this troble
I have very little time hence could not find the right way to direct my queries.
coming to the problem
I need to call a... (2 Replies)
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)
Hi,
Has anyone used any perl modules to draw dashboard/gauge graphs similar to a speedometer? I am looking to create some graphs in perl. Please share your thoughts if there are any modules and an example script. Thanks (0 Replies)
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)
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 REDHAT
pdl::pptemplate
PPTEMPLATE(1) User Contributed Perl Documentation PPTEMPLATE(1)NAME
pptemplate - script to generate Makefile.PL and PP file skeleton
SYNOPSIS
# generate Makefile.PL and mymodule.pd in CWD
pptemplate PDL::MyModule;
DESCRIPTION
The pptemplate script is the easiest way to start a new module for PDL that contains PP code (see also PDL::PP). The usage is simply
pptemplate modulename;
As a result pptemplate will generate a perl Makefile for the new module (Makefile.PL) that contains the minimal structure to generate a
module from PP code and also a skeleton file for your new module.
The file will be called mymod.pd if you called "pptemplate" as
pptemplate PDL::CleverAlgs::Mymod;
I suppose you can work out the naming rule ";)". If not resort to experimentation or the source code.
"pptemplate" will refuse to overwrite existing files of the same name to avoid accidents. Move them out of the way if you really want to
scrap them.
Options
Currently there is only the "-i" option which switches "pptemplate" into the so called internal mode. It should only be used when you are
starting a new module within the main PDL tree that is supposed to be part of the PDL distribution and the normal PDL build process, e.g.
cd PDL/IO;
mkdir Mpthree; cd Mpthree;
pptemplate -i PDL::IO::Mpthree;
BUGS
Maybe ";)". Feedback and bug reports are welcome.
COPYRIGHT
Copyright (c) 2001, Christian Soeller. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified
under the same terms as PDL itself (see http://pdl.perl.org).
perl v5.8.0 2003-01-29 PPTEMPLATE(1)