For a good online tutorial try this
http://www.sthomas.net/roberts-perl-tutorial.htm Its well written and
easy to follow. Plus it was written for perl users on windows machines.

If you want to shell out a bit of cash, start by getting Learning Perl
http://www.oreilly.com/catalog/lperl3 This is probably the best book you
can get to set you on your way. 


-----Original Message-----
From: Robert Mark White [mailto:[EMAIL PROTECTED] 
Sent: 16 August 2003 06:44
To: [EMAIL PROTECTED]
Subject: Please don't say RTFM

Dear Gentle Readers,

Please be gentle with me as this is only my first day trying to learn
perl.
I am using an online tutorial, however it must be written for *nix and I
am
trying to use it on win32.
man perl does not even work.
I have already found some other differences.  For example, the tutorial
uses
single quotes and to get anything
to work I had to use double quotes. There must be other things that are
different also.
I tried to use the examples directly in an script that would be useful
to
me. Maybe I should have tried
something a little simplier.

Any polite suggestions would be greatly appreciated.

Sincerely yours,


Robert Mark White


The attempted script is below
Most of the lines below are directly from the tutorial so.....what!
I think at least  the "#" remark lines below should be correct!

------------------------------------------------------------------------
----
------------
# By RMW
# using activeperl v5.8.0 for Win32-x86-multi-tread
# Program to add file1 to file2
# examples from http://www.comp.leeds.ac.uk/Perl/filehandling.html

#name the files
$file1 = "c:\Program Files\ArGo Software Design\Mail
Server\Keyring_ALL";  #
Name for file1
$file2 = "c:\PGP\pgp-all.asc";          # Name for file2

open(INFO, ">$file2");   # Open file2 for output
@lines = <INFO>;          # Read file2 into an array
close(INFO, "$file2");   # Close the file2

open(INFO, "<$file1");   # Open file1 for input
print <INFO> = @lines;          # Print the array into file1
close(INFO, "$file1");   # Close the file1








---
Outgoing mail is certified virus free by AVG Anti-Virus System Version 6
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to