11-02-2008
Any particular reason why you want to do this in perl? If you are just calling a bunch of other scripts, it would be simpler to just invoke them from a shell script.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
So I have a set of directories and files that I need to backup from /directory1/ to /directory2/ each night. I have some UNIX/SSH knowledge but don't assume I know a whole lot b/c I would hate to screw something up. Here's the knowledge I have:
I can access my server via SSH and can navigate to... (10 Replies)
Discussion started by: JPigford
10 Replies
2. Shell Programming and Scripting
hi everybody,
i learning unix now only.Can u pls guide me in invoking a shell script.Actually i need to know how to write the command for invoking the shell script.Suppose the shell file name is count , then how i will write the command.
thanks (1 Reply)
Discussion started by: gopa_mani
1 Replies
3. Shell Programming and Scripting
hey, can I invoke the same script twice simultaneously? I want both instances to run at the same time with different parameters. Thanks! (2 Replies)
Discussion started by: mpang_
2 Replies
4. Shell Programming and Scripting
Hi all,
Can I invoke a perl script from Ksh script and pass parameters to the perl script.
Please do help me..
thanks
Maha (10 Replies)
Discussion started by: mahalakshmi
10 Replies
5. Shell Programming and Scripting
Hi:
I need to invoke a perl script from a java applet program in UNIX operating system.. Can you please suggest me!!! (4 Replies)
Discussion started by: grajesh_955
4 Replies
6. Shell Programming and Scripting
Is it possible to invoke a perl function from a bash script ?
There are existing perl scripts with many functions that I want to reuse from a more recent script written in bash. Hence the question. (1 Reply)
Discussion started by: NewDeb
1 Replies
7. Shell Programming and Scripting
Hi all,
I use the perl script to invoke the bash script. and now there is a problem.
my bash script lists as follows:
and I use perl run this test scripts
now the problem is when I run the perl script I find there is nothing recorded in the file /tmp/jdk.txt (2 Replies)
Discussion started by: Damon_Qu
2 Replies
8. Emergency UNIX and Linux Support
I am database guy and not very good at shell scripts. I am seeking help to sharp my script coding. I have 5 scripts
1. master script. I use this one to call other four scripts to do database work.
2. db_backup_1 and log_backup_1
3. db_backup_2 and log_backup_2
in master script, I want to... (4 Replies)
Discussion started by: duke0001
4 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
I am new to Perl script.Can u please provide me perl scripts for the following:
1. Perl script on Cold backup in Oracle 10g
2.Perl script on Hot backup in Oracle 10g (0 Replies)
Discussion started by: Niharika Srivas
0 Replies
10. Shell Programming and Scripting
I have script below
#! /bin/bash
if
then
echo "JBoss is NOT running"
else
echo "JBoss is running"
fi
If JBoss is NOT running need to be invoke another script i.e jboss startup script /home/vizion/Desktop/jboss-4.2.3.GA/bin/run.sh script from other script not... (5 Replies)
Discussion started by: Chenchireddy
5 Replies
LEARN ABOUT DEBIAN
test::inline::content
Test::Inline::Content(3pm) User Contributed Perl Documentation Test::Inline::Content(3pm)
NAME
Test::Inline::Content - Test::Inline 2 Content Handlers
DESCRIPTION
One problem with the initial versions of Test::Inline 2 was the method by which it generated the script contents.
"Test::Inline::Content" provides a basic API by which more sophisticated extensions can be written to control the content of the generated
scripts.
METHODS
new
A default implementation of the "new" method is provided that takes no parameters and creates a default (empty) object.
Returns a new "Test::Inline::Content" object.
process $Inline $Script
The "process" method does the work of generating the script content. It takes as argument the parent Test::Inline object, and the completed
Test::Inline::Script object for which the file is to be generated.
The default implementation returns only an empty script that dies with an appropriate error message.
Returns the content of the script as a string, or "undef" on error.
SUPPORT
See the main SUPPORT section.
AUTHOR
Adam Kennedy <adamk@cpan.org>, <http://ali.as/>
COPYRIGHT
Copyright 2004 - 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.12.4 2010-11-22 Test::Inline::Content(3pm)