Online Counseling Resource
YCMOU ELearning Drive…
School of Architecture, Science and Technology
Yashwantrao Chavan Maharashtra
Open University, Nashik – 422222, India
OC-SBI083-U01-02
Introduction
Programmes and Courses
SBI083-CP1_U01_02
School of Science and Technology, Online Counseling Resource…
Credits
Academic Inputs by
Sonali Alkari
MSc (Botany), P.G. D.C. Bio-Informatics
sonalisa_alkari@[Link]
School of Science and Technology, Online Counseling Resource…
How to Use This Resource
Counselor at each study center should use this presentation to deliver
lecture of 40-60 minutes during Face-To-Face counseling.
Discussion about students difficulties or tutorial with assignments should
follow the lecture for about 40-60 minutes.
Handouts (with 6 slides on each A4 size page) of this presentation should
be provided to each student.
Each student should discuss on the discussion forum all the terms which
could not be understood. This will improve his writing skills and enhance
knowledge level about topics, which shall be immensely useful for end
exam.
Appear several times, for all the Self-Tests, available for this course.
Student can use handouts for last minutes preparation just before end
exam.
© 2007, YCMOU. All Rights Reserved. 4
School of Science and Technology, Online Counseling Resource…
Learning Objectives
After studying this module, you should be able to:
State history of perl and its devlopmental phases.
Explain sources of perl avalibility.
Download Perl
Install perl on your computer.
© 2007, YCMOU. All Rights Reserved. 5
School of Science and Technology, Online Counseling Resource…
Perl Overview : 1
Perl is a stable, cross
platform programming
language.
It is used for mission
critical projects in the
public and private sectors.
Perl is Open Source
software, licensed under its
Artistic License, or the GNU
General Public License
(GPL).
Perl was created by Larry
Wall.
Perl 1.0 was released to
usenet's [Link]
in 1987
School of Science and Technology, Online Counseling Resource…
Perl Overview :2
PC Magazine named Perl
a finalist for its 1998
Technical Excellence
Award in the
Development Tool
category.
Perl is listed in the
Oxford English
Dictionary.
School of Science and Technology, Online Counseling Resource…
History of Perl :1
Perl has gone through much growth and change
over the course of its nearly 15-year life.
Author for perl programme are Larry Wall and a
large groups of cohorts.
The authors published new versions periodically.
These new versions have been carefully designed to
support most programs written under old versions,
but occasionally some major features are added that
don’t work with older versions of perl.
School of Science and Technology, Online Counseling Resource…
History:2
Perl borrows features from a variety of other
languages including C, shell scripting (sh), AWK,
sed and Lisp .
Perl was widely adopted for its strengths in text
processing and lack of the arbitrary limitations of
many scripting languages at the time.
Perl was originally named "Pearl", after the Parable
of the Pearl from the Gospel of Matthew.
The name is occasionally given as "PERL" (for
Practical Extraction and Report Language).
School of Science and Technology, Online Counseling Resource…
Perl: Availability:1
Perl is free software, and is licensed under both the
Artistic License and the GNU General Public License.
Distributions are available for most operating
systems.
It is particularly prevalent on Unix and Unix-like
systems, but it has been ported to most modern
(and many obsolete) platforms.
With only six reported exceptions, Perl can be
compiled from source code on all Unix-like.
POSIX-compliant or otherwise Unix-compatible
platforms.
Because of unusual changes required for the Mac
OS Classic environment, a special port called
MacPerl was shipped independently.
School of Science and Technology, Online Counseling Resource…
Perl: Availability:2
Many computers-especially Unix and Linux computers-
come with Perl already installed.
On unix and Linux, type the following at a command
prompt:
$ perl-V
If perl is already installed, we get message on machine:
This is Perl, VS 6.1 built for i686- linux
copyright 1987-2001, Larry Wall
If perl isn’t installed, we get meassage like this:
Perl: command not found.
The CPAN carries a complete list of supported platforms
with links to the distributions available on each.
School of Science and Technology, Online Counseling Resource…
Perl: Availability:3
By use of Zip drive or CD Perl software
program can be brought to your Computer.
There are commercial shrink –wrapped CDs of
Perl available from several sources such as
local software store.
Several books such as O’Reilly’s Perl Resource
Kits include CDs with perl.
School of Science and Technology, Online Counseling Resource…
Windows Perl
Users of Microsoft Windows typically
install one of the native binary
distributions of Perl for Win32, most
commonly ActivePerl.
Compiling Perl from source code under
Windows is possible, but most
installations lack the requisite C compiler
and build tools.
This also makes it hard to install modules
from the CPAN, particularly those that
are partially written in C.
School of Science and Technology, Online Counseling Resource…
Downloading
Perl downloading and installing on
computer is same as installing any other
application.
The web site that serves as a central
jumping off point for all things in perl is
[Link]
The main page has a Downloads clickable
button that guides you to everything you
need to install perl on your computer.
School of Science and Technology, Online Counseling Resource…
Installation
Downloading and installing Perl is usually
quite easy, here are the basic steps for
installing Perl on computer.
1. Check to see if Perl is already insatlled; if
so check that version is at least Perl 5.
2. Get Internet access and go to the perl
home page at [Link] .
3. Go to the download pages and determine
which distribution of Perl to download.
4. Download the correct Perl disribution.
5. Install the distributtion on your computer.
School of Science and Technology, Online Counseling Resource…
Unix or Linux based Perl Program
On Unix or Linux perl programs run
from the command line.
The first line of my Perl programs is
#!/ usr/bin/perl
The program can executable using
Chmod program.
School of Science and Technology, Online Counseling Resource…
Macs based Perl Program
On Macs, , the recommended way to save
Perl programs is as “droplet”.
The MacPerl documentation gives the simple
instruction.
Basically, perl program is open with MacPerl
application and then option save as is
choosen, and in the next step option Droplet
is choosen
School of Science and Technology, Online Counseling Resource…
Windows based Perl Program
On window system, perl is usually associated
with the filename extension .pl with perl
programs.
This is done as part of the perl installation
process, which modifies the registry setting to
include this file association.
Windows has a PATH variable specifying folders
in which the system looks for programs.
The path is modified by Perl installation process
to include the path to the path applicaton,
usually c:\perl.
School of Science and Technology, Online Counseling Resource…
What You Learn…
You have learnt :
History of perl
Perl availability
Downloading and installation of perl
Window perl, unix,linux based perl and
Macs based Perl Program
School of Science and Technology, Online Counseling Resource…
Critical Thinking Questions
1. Is perl behave uniformly on different
operating systems?
2. State the differences in different
operating systems perl.
© 2007, YCMOU. All Rights Reserved. 20
School of Science and Technology, Online Counseling Resource…
Hints For Critical Thinking Question
1. Perl Availability Downloading and
installation of perl
1. Window perl, unix,linux based perl and
Macs based Perl Program
© 2007, YCMOU. All Rights Reserved. 21
School of Science and Technology, Online Counseling Resource…
Study Tips:Books
Beginning Perl by Simon Cozens, Peter
Wainwright. 700 pages. Wrox Press Inc. (May
25, 2000).
Impatient Perl
by Greg London (Feb 7, 2004).
Extreme Perl by Robert Nagler
MacPerl: Power & Ease
by Vicky Brown and Chris Nandor. 372 pages.
(1998).
Picking Up Perl by Bradley M. Kuhn and Neil
Smyth. self published. second edition. (July
2005).
School of Science and Technology, Online Counseling Resource…
Study Tips:Web Resources
[Link]
Microsoft Encarta Encyclopedia
[Link]
[Link]
[Link]
[Link]
School of Science and Technology, Online Counseling Resource…
Community Web Sites
Planet Perl - an aggregation of selected
perl journals
use Perl; - read community news and
personal journals, or start your own
journal
Perl Monks - the wisdom of the Monks
can guide you on your Perl Quests
[Link] - your current location
the Perl Apprenticeship Site
School of Science and Technology, Online Counseling Resource…
End of the Presentation
Thank You