07-19-2010
Shell scripting vs Perl scripting
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to really focus on as a start?
Thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and 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
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
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
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
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
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
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
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?
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
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
INTRO(1) User Contributed Perl Documentation INTRO(1)
NAME
PDL::Intro - Introduction to the Perl Data Language
Version 2.0
"Why is it that we entertain the belief that for every purpose odd numbers are the most effectual?" - Pliny the Elder.
Karl Glazebrook [karlglazebrook@yahoo.com]
DESCRIPTION
Perl is an extremely good and versatile scripting language, well suited to beginners and allows rapid prototyping. However until recently
it did not support data structures which allowed it to do fast number crunching.
However with the development of Perl v5, Perl acquired Objects. To put it simply users can define their own special data types, and write
custom routines to manipulate them either in low level languages (C and Fortran) or in Perl itself.
This has been fully exploited by the PDL developers. The "PDL" module is a complete Object-Oriented extension to Perl (although you don't
have to know what an object is to use it) which allows large N-dimensional data sets, such as large images, spectra, time series, etc to be
stored efficiently and manipulated en masse. For example with the PDL module we can write the perl code "$a=$b+$c", where $b and $c are
large datasets (e.g. 2048x2048 images), and get the result in only a fraction of a second.
PDL variables (or piddles as they have come to be known) support a wide range of fundamental data types - arrays can be bytes, short inte-
gers (signed or unsigned), long integers, floats or double precision floats. And because of the Object-Oriented nature of PDL new cus-
tomised datatypes can be derived from them.
As well as the PDL modules, that can be used by normal perl programs, PerlDL comes with a command line perl shell, called perldl, which
supports command line editing. In combination with the various PDL graphics modules this allows data to be easily played with and visu-
alised.
SYNOPSIS
This manual page provides a general introduction to the underlying philosophy of PDL. For an overview over the rest of the documentation
see PDL::Index. As a beginner the following documents are particulary recommended:
PDL::Impatient
Quick summary - PDL for the impatient
PDL::FAQ
The Frequently Asked Questions list for PDL.
PDL::Philosophy
Why another matrix language?
PDL::Indexing
An introduction to using smart indices in PDL.
PDL::NiceSlice
The all important slicing of piddles.
AUTHOR
Copyright (C) Karl Glazebrook (karlglazebrook@yahoo.com), Tuomas J. Lukka, (lukka@husc.harvard.edu) and Christian Soeller (c.soeller@auck-
land.ac.nz) 1997-2002.
Commercial reproduction of this documentation in a different format is forbidden without permission.
perl v5.8.0 2002-03-18 INTRO(1)