473,554 Members | 2,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting Started with Perl

64 New Member
Hi there,

I am new to Perl.
I am working in a data parsing project and my manager has suggested me to use Perl for it.

I am using XP operating system.

I have some basic questions
1. How to install perl on computer.
2. Do I need to download something for perl installation.
3. I do not have access to C: in my office so can I use any other drive
4. How to compile perl program in DOS.



Thanks,
Yogesh
Jun 30 '07 #1
4 1450
KevinADC
4,059 Recognized Expert Specialist
see if this link helps you:

http://www.cgi101.com/book/connect/winxp.html

you want activestate perl, the link above will provide you with details. There is no need to compile perl or perl scripts.
Jun 30 '07 #2
numberwhun
3,509 Recognized Expert Moderator Specialist
I am new to Perl.
Welcome!

I am working in a data parsing project and my manager has suggested me to use Perl for it.
And that is a good suggestion given Perl's adeptness at dealing with text.

I am using XP operating system.
That's ok, I won't hold that against you since you are doing something for work.

I have some basic questions
1. How to install perl on computer.
That's pretty easy, just pay a visit to Active State and download their version of the Perl interpreter.


2. Do I need to download something for perl installation.
See question #1.

3. I do not have access to C: in my office so can I use any other drive
During the installation, I believe you have the option of installing to another location.

4. How to compile perl program in DOS.
Perl is an interpreted language. The compilation that it does is on the fly as you execute a script. On Windows, you would put your code into a text file with the extension ".pl". To execute that script, you would issue something similar to the following:

perl ./script.pl

That will call perl and have it execute the script you supplied as an option. From there, you would just need to debug as I don't know too many people who write scripts that work the first time every time.

One last note. Remember "use strict;" and "use warnings;"

Regards,

Jeff
Jun 30 '07 #3
KevinADC
4,059 Recognized Expert Specialist
were there not more replies in this thread?

edit: never mind
Jul 9 '07 #4
miller
1,089 Recognized Expert Top Contributor
New topic split to: Parse script skipping certain data

- MODERATOR
Jul 9 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
1683
by: Miguel Manso | last post by:
Hi, list. I'm into a psicological doubt that I would like to share with you (you'll know why later on this mail). I'm a programmer with 5 year of experience into Perl. I'm on that point where you resolve problems without thinking on HOW you'll do it with that language but only on the problem itself. Since Perl 6 started I've been...
80
5200
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: Hireability Portability Flexibility The likely candidates seem to be Java, VB.Net, C, C++, C#.
30
2756
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered if anyone from the group could give me some advice on how to respond / if they had been in a similar position. Any help appreciated, Thanks in...
1
1208
by: Charlton Wilbur | last post by:
Hi all, I'm interested in learning Javascript with an eye towards using it for client-side user interfaces for web services, and I have a couple questions. First -- In reading some of the archives here, I've noticed a fairly strongly held opinion that it is better to write purpose-built Javascript than to use large libraries. Since this...
3
1568
by: asearle | last post by:
Hi everyone, I have a connection of Oracle SQL scripts which I currently run with Oracle SQL*Plus (the Oracle command-line tool). Now I would like to make these scripts more 'dynamic' and would like to implement them with Perl DBI. I am working with Windows (XP), have installed ActivePerl 5.8.8 and have found stacks of expamples in the...
2
7488
tolkienarda
by: tolkienarda | last post by:
hi everyone i am completely new to perl. i have wamp setup on my computer and have experience with php and mysql. i was wondering is someone could point me in the right direction for installing perl with my existing wamp and writing my first script. i am looking for cgi functionality mainly. thanks eric
3
5890
by: doughboy | last post by:
I have just started learning perl. I have to write a script that will ask a persons info, ask if you want to add more records, and once it is done print all the info with a : between the fields and a blank space in between records. Here is what I have so far: #!/usr/bin/perl open(FILE, ">>file.txt"); while (1) { print("First Name ");...
5
1295
by: DDragon | last post by:
Ok here is the problem i face... ive learnt enuff Perl to make more than a few things work and im also touching on javascript... and i suppose this can br for javascript as well... what im needing is a script or part of a script to get the input of a form to appear in an email as it is setout by the form... how can i do this weather through...
2
3553
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in uby/Rails. I started it in Perl and gave up on Perl as I went from the 'display the database information on the web page' to the 're-display the information...
0
7802
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7565
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7891
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5438
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5158
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3564
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2021
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
844
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.