11-11-2008
Should I write a PERL Script or Shell Script?
Hello,
I have done some BASIC shell scripting/PERL scripting before so I am familiar with the languages. I am not really sure which one would lend itself better to the application I have to write.
I am required to scan the message logs for possible break in attempts. If I use shell scripting I could use GREP for a particular pattern and I am sure PERL has some similar pattern scanning capability. I am not sure which language could accomplish the following more easily: In each warning attempt I would have to locate the username used to loggin and keep track of how often this username attempted a loggon in a variable.
Opinions/suggestions?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello friends,
I am having a awk script which does my goal , but I want to learn perl , after learning the basics in perl now I am trying to convert my nawk script to perl .
Please help me to do some task in perl that I ve already did in nawk.
Like I am facing some problem in... (10 Replies)
Discussion started by: user_prady
10 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I must write a shell script that calls two external Perl functions--one of which sorts the data in a file, and... (6 Replies)
Discussion started by: kowit010
6 Replies
3. Shell Programming and Scripting
I am a novice writing perl scripts so I'd appreciate any help you guys can offer.
I have a list of 100 words in a file (words.txt) and I need to find them in a second file (data.txt). Whenever one of these words is found I need to write that line to a third file (out.txt) and then continue... (1 Reply)
Discussion started by: tgamble
1 Replies
4. Shell Programming and Scripting
can any one suggest me on how to write a update query in perl script for Oracle database and also tell me abt how we can write a code for sending mails with report as attachment to appropriate persons? (1 Reply)
Discussion started by: Ramesh V Kumar
1 Replies
5. Shell Programming and Scripting
Hi,
I have on Designdocument in that information is stored with in tabular format.I need Perlscript to read and write the datausing perl script?
Regards,
Ravi (0 Replies)
Discussion started by: toravi.pentaho
0 Replies
6. Shell Programming and Scripting
Hi,
I have on Designdocument in that information is stored with in tabular format.I need Perl/unix script to read and write the data
using perl script?
Regards,
Ravi (4 Replies)
Discussion started by: toravi.pentaho
4 Replies
7. Shell Programming and Scripting
Hi,
I need help in debug following script. can somebody help....!!!
#!/usr/bin/perl -w
use strict;
use Spreadsheet::WriteExcel;
# Create a new workbook called simple.xls and add a worksheet.
my $workbook = Spreadsheet::WriteExcel->new('simple.xls');
my $worksheet =... (1 Reply)
Discussion started by: chettyravi
1 Replies
8. Shell Programming and Scripting
Hi ,
I got the following script from internet to display queue depth using Perl Script. However, when I execute it , im getting following error. Can anyone shed light on what is going wrong?
#!/usr/bin/perl
## 07/23/01
## Depth Inquiry sample program.
## Arguments:
## Connects to... (11 Replies)
Discussion started by: srkmish
11 Replies
9. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
10. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
LEARN ABOUT DEBIAN
jifty::script::model
Jifty::Script::Model(3pm) User Contributed Perl Documentation Jifty::Script::Model(3pm)
NAME
Jifty::Script::Model - Add a model class to your Jifty application
SYNOPSIS
jifty model --name MyFirstModel
jifty model --name MyFirstModel --force
Options:
--name <name> name of the model
--force overwrite files
--help brief help message
--man full documentation
DESCRIPTION
Creates a skeleton model file.
options
--name NAME (required)
Name of the model class.
--force By default, this will stop and warn you if any of the files it is going to write already exist. Passing the --force flag will make
it overwrite the files.
--help Print a brief help message and exits.
--man Prints the manual page and exits.
DESCRIPTION
This creates a skeleton of a new model class for your jifty application, complete with a skeleton of a test suite for it, as well.
METHODS
run
Creates a skeleton file under "lib/ApplicationClass/Model/Model", as well as a skeleton tests file.
DESCRIPTION
A basic test harness for the $model model.
perl v5.14.2 2010-09-25 Jifty::Script::Model(3pm)