Sponsored Content
The Lounge What is on Your Mind? Shell scripting vs Perl scripting Post 302438415 by wpeckham on Monday 19th of July 2010 03:24:34 PM
Old 07-19-2010
Shell or PERL

It depends upon your platform and long-term goals. Generally, because it is portable nearly everywhere, I would advise PERL. Longer term: BASH and/or KORN as well. There are things that PERL is not well suited to. It has greater power and is very versatile (and FAST), but anything that has to call or start other processes is better done in a shell. A mature SYSADM will be very comfortable with both shell and PERL coding.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Shell Programming and Scripting

Comp-3 conversion possible with Shell Scripting or PERL?

I guess the subject asks it all, but I am wondering (before I go and code a COBOL module) if conversion of regular ASCII data to COMP-3 is possible on a UNIX environment (AIX 5.1)? Any help would be appreciated! Thanks, Dave (13 Replies)
Discussion started by: dfran1972
13 Replies

3. Shell Programming and Scripting

Should I use PERL or Shell scripting?

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... (3 Replies)
Discussion started by: mojoman
3 Replies

4. Shell Programming and Scripting

Comparison of two files which contains strings using Shell scripting or PERL

Hi, I need sample code to compare the two files line by line which contains text strings and to print the difference in the third file. Thanks in advance (1 Reply)
Discussion started by: sudhakaryadav
1 Replies

5. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

6. Shell Programming and Scripting

Linux/Unix shell scripting vs Perl

Hi, I have general question: i have good working Perl script with .pl extension, and now I have to migrate all to another Linux box, and I was told that I can use only shell scripting, so I'm not sure how different those two things are, will it work without any changes . Is there anything smart I... (6 Replies)
Discussion started by: trento17
6 Replies

7. Shell Programming and Scripting

Conversion from Perl to Shell scripting

Hai ! I am doing a research on Bioinformatics and a part of the code in perl have to be converted to shell scripting. I am new to shell programming. Pls. kindly help me to convert this code to shell script though it is somewhat lengthy. PLS KINDLY HELP ME. THANKS IN ADVANCE. my @FreeEnergy =... (1 Reply)
Discussion started by: kswapnadevi
1 Replies

8. Android

Android Scripting Environment: Shell Scripting and Android

I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies

9. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

10. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
PERL-DEPENDS(1) 					      cvs status - formatter						   PERL-DEPENDS(1)

NAME
perl-depends - Roughly find out module depends from Perl file(s) SYNOPSIS
perl-depends [options] FILE [FILE ...] DESCRIPTION
Find out roughly the modules the program uses. This is based on the idea, that Perl evaluates the "use" commands at compile time and stores the loaded module information into the %INC variable. By examining the loaded modules and comparing them against the standard Perl modules, the external module dependencies can be roughly estimated. The depends information can be used to determine what external modules have to be installed before a program can be used. The target FILE have to be instrumented with the dependency checking code. The resulting "binary" is then stored in a temporary file which the user runs. This program does not run the instrumented files because it cannot know what possible options need to be passed for the program to trigger "no behavior". That is, something that doesn't actually involve executing the "binary" in real. Such options passed would include --version, --dry-run, invalid options like --generate-syntax-error-now, or invalid files etc. to make program stop on error. The user can know better the details of running the intrumented file. An example of output: the external module depends here is 'Regexp::Common' and the rest of them can be ignored. Regexp::Common Regexp/Common.pm Regexp::Common::CC Regexp/Common/CC.pm ... OPTIONS
-e, --extension=EXT Use extension EXT for instrumented files. The default is ".tmp". -h, --help Print text help --help-html Print help in HTML format. --help-man Print help in manual page man(1) format. -v, --verbose LEVEL Print informational messages. Increase numeric LEVEL for more verbosity. -V, --version Print contact and version information. EXAMPLES
Instrument a file, run it to see results and delete instrumentation: perl-depends file.pl perl file.pl.tmp --version rm *.tmp TROUBLESHOOTING
None. ENVIRONMENT
None. FILES
None. EXIT STATUS
This program's exit status is not defined. The instrumented programs exit status is 1 in case external moduels are displayed and 0 if no external modules are found. DEPENDENCIES
Uses standard Perl modules. BUGS AND LIMITATIONS
None. SEE ALSO
cpan(1) AVAILABILITY
http://freshmeat.net/projects/perl-depends AUTHOR
Jari Aalto <jari.aalto@cante.net> LICENSE
Copyright (C) 2009-2011 Jari Aalto <jari.aalto@cante.net> This program is free software; you can redistribute and/or modify program under the terms of GNU General Public license either version 2 of the License, or (at your option) any later version. perl v5.10.1 2011-03-24 PERL-DEPENDS(1)
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy